Skip to content

Commit

Permalink
style: Update Gecko bindings.
Browse files Browse the repository at this point in the history
  • Loading branch information
heycam committed Aug 13, 2017
1 parent 22a6a2c commit d6856c0
Show file tree
Hide file tree
Showing 3 changed files with 837 additions and 545 deletions.
10 changes: 9 additions & 1 deletion components/style/gecko/generated/bindings.rs
Expand Up @@ -15,6 +15,7 @@ use gecko_bindings::structs::mozilla::css::ImageValue;
use gecko_bindings::structs::mozilla::css::URLValue;
use gecko_bindings::structs::mozilla::css::URLValueData;
use gecko_bindings::structs::mozilla::MallocSizeOf;
use gecko_bindings::structs::mozilla::OriginFlags;
use gecko_bindings::structs::mozilla::Side;
use gecko_bindings::structs::mozilla::UniquePtr;
use gecko_bindings::structs::nsIContent;
Expand Down Expand Up @@ -1956,6 +1957,11 @@ extern "C" {
RawServoStyleSheetContentsBorrowed)
-> usize;
}
extern "C" {
pub fn Servo_StyleSheet_GetOrigin(sheet:
RawServoStyleSheetContentsBorrowed)
-> OriginFlags;
}
extern "C" {
pub fn Servo_StyleSet_Init(pres_context: RawGeckoPresContextOwned)
-> RawServoStyleSetOwned;
Expand Down Expand Up @@ -2006,7 +2012,9 @@ extern "C" {
extern "C" {
pub fn Servo_StyleSet_NoteStyleSheetsChanged(set:
RawServoStyleSetBorrowed,
author_style_disabled: bool);
author_style_disabled: bool,
changed_origins:
OriginFlags);
}
extern "C" {
pub fn Servo_StyleSet_GetKeyframesForName(set: RawServoStyleSetBorrowed,
Expand Down

0 comments on commit d6856c0

Please sign in to comment.