style: Update bindings.

This commit is contained in:
Emilio Cobos Álvarez 2018-02-07 13:26:22 +01:00
parent 0907c21600
commit 091a97e092
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 790 additions and 685 deletions

View file

@ -18,6 +18,7 @@ use gecko_bindings::structs::mozilla::dom::CallerType;
use gecko_bindings::structs::mozilla::AnonymousCounterStyle; use gecko_bindings::structs::mozilla::AnonymousCounterStyle;
use gecko_bindings::structs::mozilla::AtomArray; use gecko_bindings::structs::mozilla::AtomArray;
use gecko_bindings::structs::mozilla::MallocSizeOf; use gecko_bindings::structs::mozilla::MallocSizeOf;
use gecko_bindings::structs::mozilla::ServoStyleSet;
use gecko_bindings::structs::mozilla::OriginFlags; use gecko_bindings::structs::mozilla::OriginFlags;
use gecko_bindings::structs::mozilla::UniquePtr; use gecko_bindings::structs::mozilla::UniquePtr;
use gecko_bindings::structs::ServoRawOffsetArc; use gecko_bindings::structs::ServoRawOffsetArc;
@ -25,6 +26,7 @@ use gecko_bindings::structs::nsIContent;
use gecko_bindings::structs::nsIDocument; use gecko_bindings::structs::nsIDocument;
use gecko_bindings::structs::nsIDocument_DocumentTheme; use gecko_bindings::structs::nsIDocument_DocumentTheme;
use gecko_bindings::structs::nsSimpleContentList; use gecko_bindings::structs::nsSimpleContentList;
use gecko_bindings::structs::MediumFeaturesChangedResult;
use gecko_bindings::structs::RawGeckoAnimationPropertySegment; use gecko_bindings::structs::RawGeckoAnimationPropertySegment;
use gecko_bindings::structs::RawGeckoComputedTiming; use gecko_bindings::structs::RawGeckoComputedTiming;
use gecko_bindings::structs::RawGeckoCSSPropertyIDList; use gecko_bindings::structs::RawGeckoCSSPropertyIDList;
@ -2097,15 +2099,10 @@ extern "C" {
} }
extern "C" { extern "C" {
pub fn Servo_StyleSet_MediumFeaturesChanged( pub fn Servo_StyleSet_MediumFeaturesChanged(
set: RawServoStyleSetBorrowed, document_set: RawServoStyleSetBorrowed,
viewport_units_used: *mut bool, non_document_sets: *const nsTArray<*mut ServoStyleSet>,
) -> u8; may_affect_default_style: bool,
} ) -> MediumFeaturesChangedResult;
extern "C" {
pub fn Servo_StyleSet_SetDevice(
set: RawServoStyleSetBorrowed,
pres_context: RawGeckoPresContextOwned,
) -> u8;
} }
extern "C" { extern "C" {
pub fn Servo_StyleSet_CompatModeChanged(raw_data: RawServoStyleSetBorrowed); pub fn Servo_StyleSet_CompatModeChanged(raw_data: RawServoStyleSetBorrowed);

File diff suppressed because it is too large Load diff