mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Stylo: Add new Gecko_XXXImageValue functions and remove unsed ones in binding.rs
This commit is contained in:
parent
f9b370719d
commit
cc67f37d4e
1 changed files with 11 additions and 8 deletions
|
@ -832,8 +832,11 @@ extern "C" {
|
|||
pub fn Gecko_ReleaseImageValueArbitraryThread(aPtr: *mut ImageValue);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetUrlImageValue(image: *mut nsStyleImage,
|
||||
uri: ServoBundledURI);
|
||||
pub fn Gecko_ImageValue_Create(uri: ServoBundledURI) -> *mut ImageValue;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetLayerImageImageValue(image: *mut nsStyleImage,
|
||||
imageValue: *mut ImageValue);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetImageElement(image: *mut nsStyleImage,
|
||||
|
@ -855,8 +858,8 @@ extern "C" {
|
|||
pub fn Gecko_SetListStyleImageNone(style_struct: *mut nsStyleList);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetListStyleImage(style_struct: *mut nsStyleList,
|
||||
uri: ServoBundledURI);
|
||||
pub fn Gecko_SetListStyleImageImageValue(style_struct: *mut nsStyleList,
|
||||
imageValue: *mut ImageValue);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CopyListStyleImageFrom(dest: *mut nsStyleList,
|
||||
|
@ -867,16 +870,16 @@ extern "C" {
|
|||
len: usize);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetCursorImage(cursor: *mut nsCursorImage,
|
||||
uri: ServoBundledURI);
|
||||
pub fn Gecko_SetCursorImageValue(cursor: *mut nsCursorImage,
|
||||
imageValue: *mut ImageValue);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CopyCursorArrayFrom(dest: *mut nsStyleUserInterface,
|
||||
src: *const nsStyleUserInterface);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetContentDataImage(content_data: *mut nsStyleContentData,
|
||||
uri: ServoBundledURI);
|
||||
pub fn Gecko_SetContentDataImageValue(content_data: *mut nsStyleContentData,
|
||||
imageValue: *mut ImageValue);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetContentDataArray(content_data: *mut nsStyleContentData,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue