style: Expose stylist::set_device() for gecko

MozReview-Commit-ID: L655tvOwyKH
This commit is contained in:
Ting-Yu Lin 2017-09-04 17:42:32 +08:00
parent bcddb19eb8
commit 4b096486e7
5 changed files with 1097 additions and 591 deletions

View file

@ -1982,6 +1982,11 @@ extern "C" {
viewport_units_used:
*mut bool) -> u8;
}
extern "C" {
pub fn Servo_StyleSet_SetDevice(set: RawServoStyleSetBorrowed,
pres_context: RawGeckoPresContextOwned)
-> u8;
}
extern "C" {
pub fn Servo_StyleSet_CompatModeChanged(raw_data:
RawServoStyleSetBorrowed);