diff options
author | Cameron McCormack <cam@mcc.id.au> | 2016-11-03 17:53:12 +0800 |
---|---|---|
committer | Cameron McCormack <cam@mcc.id.au> | 2016-11-21 11:35:02 +0800 |
commit | c6be1a8995eed8cb40288e7cf90dfa07cb9351ac (patch) | |
tree | 62cf703aa621b87f2372d7260e7b25386931356c | |
parent | dd611ef310159ff3de5e7117186504c050ddb02e (diff) | |
download | servo-c6be1a8995eed8cb40288e7cf90dfa07cb9351ac.tar.gz servo-c6be1a8995eed8cb40288e7cf90dfa07cb9351ac.zip |
Regenerate bindings.
MozReview-Commit-ID: LLZf2HKBpjF
-rwxr-xr-x | components/style/binding_tools/regen.py | 1 | ||||
-rw-r--r-- | components/style/gecko_bindings/bindings.rs | 16 | ||||
-rw-r--r-- | components/style/gecko_bindings/structs_debug.rs | 2 | ||||
-rw-r--r-- | components/style/gecko_bindings/structs_release.rs | 2 |
4 files changed, 19 insertions, 2 deletions
diff --git a/components/style/binding_tools/regen.py b/components/style/binding_tools/regen.py index 78a22738f1a..88ed56baf00 100755 --- a/components/style/binding_tools/regen.py +++ b/components/style/binding_tools/regen.py @@ -278,6 +278,7 @@ COMPILATION_TARGETS = { "nsCSSValue", "nsCSSValueSharedList", "nsChangeHint", + "nsCursorImage", "nsFont", "nsIAtom", "nsIDocument", diff --git a/components/style/gecko_bindings/bindings.rs b/components/style/gecko_bindings/bindings.rs index a17d2df57bc..dcd961263c6 100644 --- a/components/style/gecko_bindings/bindings.rs +++ b/components/style/gecko_bindings/bindings.rs @@ -60,6 +60,7 @@ use gecko_bindings::structs::nsCSSShadowArray; use gecko_bindings::structs::nsCSSValue; use gecko_bindings::structs::nsCSSValueSharedList; use gecko_bindings::structs::nsChangeHint; +use gecko_bindings::structs::nsCursorImage; use gecko_bindings::structs::nsFont; use gecko_bindings::structs::nsIAtom; use gecko_bindings::structs::nsIDocument; @@ -511,6 +512,21 @@ extern "C" { src: *const nsStyleList); } extern "C" { + pub fn Gecko_SetCursorArrayLength(ui: *mut nsStyleUserInterface, + len: usize); +} +extern "C" { + pub fn Gecko_SetCursorImage(cursor: *mut nsCursorImage, + string_bytes: *const u8, string_length: u32, + base_uri: *mut ThreadSafeURIHolder, + referrer: *mut ThreadSafeURIHolder, + principal: *mut ThreadSafePrincipalHolder); +} +extern "C" { + pub fn Gecko_CopyCursorArrayFrom(dest: *mut nsStyleUserInterface, + src: *const nsStyleUserInterface); +} +extern "C" { pub fn Gecko_SetMozBinding(style_struct: *mut nsStyleDisplay, string_bytes: *const u8, string_length: u32, base_uri: *mut ThreadSafeURIHolder, diff --git a/components/style/gecko_bindings/structs_debug.rs b/components/style/gecko_bindings/structs_debug.rs index 298f661ac28..eaa06e839e2 100644 --- a/components/style/gecko_bindings/structs_debug.rs +++ b/components/style/gecko_bindings/structs_debug.rs @@ -11866,7 +11866,7 @@ pub struct nsCursorImage { pub mHaveHotspot: bool, pub mHotspotX: f32, pub mHotspotY: f32, - pub mImage: nsCOMPtr<imgIRequest>, + pub mImage: RefPtr<nsStyleImageRequest>, } #[test] fn bindgen_test_layout_nsCursorImage() { diff --git a/components/style/gecko_bindings/structs_release.rs b/components/style/gecko_bindings/structs_release.rs index c8e67da2070..9a2686b93f7 100644 --- a/components/style/gecko_bindings/structs_release.rs +++ b/components/style/gecko_bindings/structs_release.rs @@ -11822,7 +11822,7 @@ pub struct nsCursorImage { pub mHaveHotspot: bool, pub mHotspotX: f32, pub mHotspotY: f32, - pub mImage: nsCOMPtr<imgIRequest>, + pub mImage: RefPtr<nsStyleImageRequest>, } #[test] fn bindgen_test_layout_nsCursorImage() { |