Include bindings for StyleGridTemplate

This commit is contained in:
Ravi Shankar 2017-04-09 12:38:44 +05:30
parent a811776df4
commit 00bb0d6a12
2 changed files with 11 additions and 0 deletions

View file

@ -400,6 +400,7 @@ mod bindings {
"nsStyleFont", "nsStyleFont",
"nsStyleGradient", "nsStyleGradient",
"nsStyleGradientStop", "nsStyleGradientStop",
"nsStyleGridTemplate",
"nsStyleImage", "nsStyleImage",
"nsStyleImageLayers", "nsStyleImageLayers",
"nsStyleList", "nsStyleList",
@ -657,6 +658,7 @@ mod bindings {
"nsStyleFont", "nsStyleFont",
"nsStyleGradient", "nsStyleGradient",
"nsStyleGradientStop", "nsStyleGradientStop",
"nsStyleGridTemplate",
"nsStyleImage", "nsStyleImage",
"nsStyleImageLayers", "nsStyleImageLayers",
"nsStyleImageLayers_Layer", "nsStyleImageLayers_Layer",

View file

@ -97,6 +97,9 @@ unsafe impl Sync for nsStyleGradient {}
use gecko_bindings::structs::nsStyleGradientStop; use gecko_bindings::structs::nsStyleGradientStop;
unsafe impl Send for nsStyleGradientStop {} unsafe impl Send for nsStyleGradientStop {}
unsafe impl Sync for nsStyleGradientStop {} unsafe impl Sync for nsStyleGradientStop {}
use gecko_bindings::structs::nsStyleGridTemplate;
unsafe impl Send for nsStyleGridTemplate {}
unsafe impl Sync for nsStyleGridTemplate {}
use gecko_bindings::structs::nsStyleImage; use gecko_bindings::structs::nsStyleImage;
unsafe impl Send for nsStyleImage {} unsafe impl Send for nsStyleImage {}
unsafe impl Sync for nsStyleImage {} unsafe impl Sync for nsStyleImage {}
@ -778,6 +781,12 @@ extern "C" {
extern "C" { extern "C" {
pub fn Gecko_DropElementSnapshot(snapshot: ServoElementSnapshotOwned); pub fn Gecko_DropElementSnapshot(snapshot: ServoElementSnapshotOwned);
} }
extern "C" {
pub fn Gecko_CopyStyleGridTemplateValues(grid_template:
*mut nsStyleGridTemplate,
other:
*const nsStyleGridTemplate);
}
extern "C" { extern "C" {
pub fn Gecko_ClearAndResizeStyleContents(content: *mut nsStyleContent, pub fn Gecko_ClearAndResizeStyleContents(content: *mut nsStyleContent,
how_many: u32); how_many: u32);