mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
style: Update bindings.
This commit is contained in:
parent
0907c21600
commit
091a97e092
2 changed files with 790 additions and 685 deletions
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue