style: Update Gecko bindings.

This commit is contained in:
Cameron McCormack 2017-08-13 19:39:01 +08:00
parent 22a6a2c1bb
commit d6856c0020
3 changed files with 843 additions and 551 deletions

View file

@ -15,6 +15,7 @@ use gecko_bindings::structs::mozilla::css::ImageValue;
use gecko_bindings::structs::mozilla::css::URLValue; use gecko_bindings::structs::mozilla::css::URLValue;
use gecko_bindings::structs::mozilla::css::URLValueData; use gecko_bindings::structs::mozilla::css::URLValueData;
use gecko_bindings::structs::mozilla::MallocSizeOf; use gecko_bindings::structs::mozilla::MallocSizeOf;
use gecko_bindings::structs::mozilla::OriginFlags;
use gecko_bindings::structs::mozilla::Side; use gecko_bindings::structs::mozilla::Side;
use gecko_bindings::structs::mozilla::UniquePtr; use gecko_bindings::structs::mozilla::UniquePtr;
use gecko_bindings::structs::nsIContent; use gecko_bindings::structs::nsIContent;
@ -1956,6 +1957,11 @@ extern "C" {
RawServoStyleSheetContentsBorrowed) RawServoStyleSheetContentsBorrowed)
-> usize; -> usize;
} }
extern "C" {
pub fn Servo_StyleSheet_GetOrigin(sheet:
RawServoStyleSheetContentsBorrowed)
-> OriginFlags;
}
extern "C" { extern "C" {
pub fn Servo_StyleSet_Init(pres_context: RawGeckoPresContextOwned) pub fn Servo_StyleSet_Init(pres_context: RawGeckoPresContextOwned)
-> RawServoStyleSetOwned; -> RawServoStyleSetOwned;
@ -2006,7 +2012,9 @@ extern "C" {
extern "C" { extern "C" {
pub fn Servo_StyleSet_NoteStyleSheetsChanged(set: pub fn Servo_StyleSet_NoteStyleSheetsChanged(set:
RawServoStyleSetBorrowed, RawServoStyleSetBorrowed,
author_style_disabled: bool); author_style_disabled: bool,
changed_origins:
OriginFlags);
} }
extern "C" { extern "C" {
pub fn Servo_StyleSet_GetKeyframesForName(set: RawServoStyleSetBorrowed, pub fn Servo_StyleSet_GetKeyframesForName(set: RawServoStyleSetBorrowed,

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff