@@ -202,80 +202,6 @@ use gecko_bindings::structs::ParsingMode;
202
202
use gecko_bindings:: structs:: InheritTarget ;
203
203
use gecko_bindings:: structs:: URLMatchingFunction ;
204
204
pub type nsTArrayBorrowed_uintptr_t < ' a > = & ' a mut :: gecko_bindings:: structs:: nsTArray < usize > ;
205
- pub type ServoCssRulesStrong = :: gecko_bindings:: sugar:: ownership:: Strong < ServoCssRules > ;
206
- pub type ServoCssRulesBorrowed < ' a > = & ' a ServoCssRules ;
207
- pub type ServoCssRulesBorrowedOrNull < ' a > = Option < & ' a ServoCssRules > ;
208
- enum ServoCssRulesVoid { }
209
- pub struct ServoCssRules ( ServoCssRulesVoid ) ;
210
- pub type RawServoStyleSheetStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoStyleSheet > ;
211
- pub type RawServoStyleSheetBorrowed < ' a > = & ' a RawServoStyleSheet ;
212
- pub type RawServoStyleSheetBorrowedOrNull < ' a > = Option < & ' a RawServoStyleSheet > ;
213
- enum RawServoStyleSheetVoid { }
214
- pub struct RawServoStyleSheet ( RawServoStyleSheetVoid ) ;
215
- pub type ServoComputedValuesStrong = :: gecko_bindings:: sugar:: ownership:: Strong < ServoComputedValues > ;
216
- pub type ServoComputedValuesBorrowed < ' a > = & ' a ServoComputedValues ;
217
- pub type ServoComputedValuesBorrowedOrNull < ' a > = Option < & ' a ServoComputedValues > ;
218
- enum ServoComputedValuesVoid { }
219
- pub struct ServoComputedValues ( ServoComputedValuesVoid ) ;
220
- pub type RawServoDeclarationBlockStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoDeclarationBlock > ;
221
- pub type RawServoDeclarationBlockBorrowed < ' a > = & ' a RawServoDeclarationBlock ;
222
- pub type RawServoDeclarationBlockBorrowedOrNull < ' a > = Option < & ' a RawServoDeclarationBlock > ;
223
- pub type RawServoStyleRuleStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoStyleRule > ;
224
- pub type RawServoStyleRuleBorrowed < ' a > = & ' a RawServoStyleRule ;
225
- pub type RawServoStyleRuleBorrowedOrNull < ' a > = Option < & ' a RawServoStyleRule > ;
226
- pub type RawServoImportRuleStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoImportRule > ;
227
- pub type RawServoImportRuleBorrowed < ' a > = & ' a RawServoImportRule ;
228
- pub type RawServoImportRuleBorrowedOrNull < ' a > = Option < & ' a RawServoImportRule > ;
229
- enum RawServoImportRuleVoid { }
230
- pub struct RawServoImportRule ( RawServoImportRuleVoid ) ;
231
- pub type RawServoAnimationValueStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoAnimationValue > ;
232
- pub type RawServoAnimationValueBorrowed < ' a > = & ' a RawServoAnimationValue ;
233
- pub type RawServoAnimationValueBorrowedOrNull < ' a > = Option < & ' a RawServoAnimationValue > ;
234
- pub type RawServoKeyframeStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoKeyframe > ;
235
- pub type RawServoKeyframeBorrowed < ' a > = & ' a RawServoKeyframe ;
236
- pub type RawServoKeyframeBorrowedOrNull < ' a > = Option < & ' a RawServoKeyframe > ;
237
- enum RawServoKeyframeVoid { }
238
- pub struct RawServoKeyframe ( RawServoKeyframeVoid ) ;
239
- pub type RawServoKeyframesRuleStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoKeyframesRule > ;
240
- pub type RawServoKeyframesRuleBorrowed < ' a > = & ' a RawServoKeyframesRule ;
241
- pub type RawServoKeyframesRuleBorrowedOrNull < ' a > = Option < & ' a RawServoKeyframesRule > ;
242
- enum RawServoKeyframesRuleVoid { }
243
- pub struct RawServoKeyframesRule ( RawServoKeyframesRuleVoid ) ;
244
- pub type RawServoMediaListStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoMediaList > ;
245
- pub type RawServoMediaListBorrowed < ' a > = & ' a RawServoMediaList ;
246
- pub type RawServoMediaListBorrowedOrNull < ' a > = Option < & ' a RawServoMediaList > ;
247
- enum RawServoMediaListVoid { }
248
- pub struct RawServoMediaList ( RawServoMediaListVoid ) ;
249
- pub type RawServoMediaRuleStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoMediaRule > ;
250
- pub type RawServoMediaRuleBorrowed < ' a > = & ' a RawServoMediaRule ;
251
- pub type RawServoMediaRuleBorrowedOrNull < ' a > = Option < & ' a RawServoMediaRule > ;
252
- enum RawServoMediaRuleVoid { }
253
- pub struct RawServoMediaRule ( RawServoMediaRuleVoid ) ;
254
- pub type RawServoNamespaceRuleStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoNamespaceRule > ;
255
- pub type RawServoNamespaceRuleBorrowed < ' a > = & ' a RawServoNamespaceRule ;
256
- pub type RawServoNamespaceRuleBorrowedOrNull < ' a > = Option < & ' a RawServoNamespaceRule > ;
257
- enum RawServoNamespaceRuleVoid { }
258
- pub struct RawServoNamespaceRule ( RawServoNamespaceRuleVoid ) ;
259
- pub type RawServoPageRuleStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoPageRule > ;
260
- pub type RawServoPageRuleBorrowed < ' a > = & ' a RawServoPageRule ;
261
- pub type RawServoPageRuleBorrowedOrNull < ' a > = Option < & ' a RawServoPageRule > ;
262
- enum RawServoPageRuleVoid { }
263
- pub struct RawServoPageRule ( RawServoPageRuleVoid ) ;
264
- pub type RawServoSupportsRuleStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoSupportsRule > ;
265
- pub type RawServoSupportsRuleBorrowed < ' a > = & ' a RawServoSupportsRule ;
266
- pub type RawServoSupportsRuleBorrowedOrNull < ' a > = Option < & ' a RawServoSupportsRule > ;
267
- enum RawServoSupportsRuleVoid { }
268
- pub struct RawServoSupportsRule ( RawServoSupportsRuleVoid ) ;
269
- pub type RawServoDocumentRuleStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoDocumentRule > ;
270
- pub type RawServoDocumentRuleBorrowed < ' a > = & ' a RawServoDocumentRule ;
271
- pub type RawServoDocumentRuleBorrowedOrNull < ' a > = Option < & ' a RawServoDocumentRule > ;
272
- enum RawServoDocumentRuleVoid { }
273
- pub struct RawServoDocumentRule ( RawServoDocumentRuleVoid ) ;
274
- pub type RawServoRuleNodeStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoRuleNode > ;
275
- pub type RawServoRuleNodeBorrowed < ' a > = & ' a RawServoRuleNode ;
276
- pub type RawServoRuleNodeBorrowedOrNull < ' a > = Option < & ' a RawServoRuleNode > ;
277
- enum RawServoRuleNodeVoid { }
278
- pub struct RawServoRuleNode ( RawServoRuleNodeVoid ) ;
279
205
pub type RawServoStyleSetOwned = :: gecko_bindings:: sugar:: ownership:: Owned < RawServoStyleSet > ;
280
206
pub type RawServoStyleSetOwnedOrNull = :: gecko_bindings:: sugar:: ownership:: OwnedOrNull < RawServoStyleSet > ;
281
207
pub type RawServoStyleSetBorrowed < ' a > = & ' a RawServoStyleSet ;
@@ -342,6 +268,10 @@ pub type RawGeckoComputedTimingBorrowed<'a> = &'a RawGeckoComputedTiming;
342
268
pub type RawGeckoComputedTimingBorrowedOrNull < ' a > = Option < & ' a RawGeckoComputedTiming > ;
343
269
pub type RawGeckoComputedTimingBorrowedMut < ' a > = & ' a mut RawGeckoComputedTiming ;
344
270
pub type RawGeckoComputedTimingBorrowedMutOrNull < ' a > = Option < & ' a mut RawGeckoComputedTiming > ;
271
+ pub type RawGeckoCSSPropertyIDListBorrowed < ' a > = & ' a RawGeckoCSSPropertyIDList ;
272
+ pub type RawGeckoCSSPropertyIDListBorrowedOrNull < ' a > = Option < & ' a RawGeckoCSSPropertyIDList > ;
273
+ pub type RawGeckoCSSPropertyIDListBorrowedMut < ' a > = & ' a mut RawGeckoCSSPropertyIDList ;
274
+ pub type RawGeckoCSSPropertyIDListBorrowedMutOrNull < ' a > = Option < & ' a mut RawGeckoCSSPropertyIDList > ;
345
275
pub type RawGeckoKeyframeListBorrowed < ' a > = & ' a RawGeckoKeyframeList ;
346
276
pub type RawGeckoKeyframeListBorrowedOrNull < ' a > = Option < & ' a RawGeckoKeyframeList > ;
347
277
pub type RawGeckoKeyframeListBorrowedMut < ' a > = & ' a mut RawGeckoKeyframeList ;
@@ -358,10 +288,80 @@ pub type RawGeckoServoStyleRuleListBorrowed<'a> = &'a RawGeckoServoStyleRuleList
358
288
pub type RawGeckoServoStyleRuleListBorrowedOrNull < ' a > = Option < & ' a RawGeckoServoStyleRuleList > ;
359
289
pub type RawGeckoServoStyleRuleListBorrowedMut < ' a > = & ' a mut RawGeckoServoStyleRuleList ;
360
290
pub type RawGeckoServoStyleRuleListBorrowedMutOrNull < ' a > = Option < & ' a mut RawGeckoServoStyleRuleList > ;
361
- pub type RawGeckoCSSPropertyIDListBorrowed < ' a > = & ' a RawGeckoCSSPropertyIDList ;
362
- pub type RawGeckoCSSPropertyIDListBorrowedOrNull < ' a > = Option < & ' a RawGeckoCSSPropertyIDList > ;
363
- pub type RawGeckoCSSPropertyIDListBorrowedMut < ' a > = & ' a mut RawGeckoCSSPropertyIDList ;
364
- pub type RawGeckoCSSPropertyIDListBorrowedMutOrNull < ' a > = Option < & ' a mut RawGeckoCSSPropertyIDList > ;
291
+ pub type ServoCssRulesStrong = :: gecko_bindings:: sugar:: ownership:: Strong < ServoCssRules > ;
292
+ pub type ServoCssRulesBorrowed < ' a > = & ' a ServoCssRules ;
293
+ pub type ServoCssRulesBorrowedOrNull < ' a > = Option < & ' a ServoCssRules > ;
294
+ enum ServoCssRulesVoid { }
295
+ pub struct ServoCssRules ( ServoCssRulesVoid ) ;
296
+ pub type RawServoStyleSheetStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoStyleSheet > ;
297
+ pub type RawServoStyleSheetBorrowed < ' a > = & ' a RawServoStyleSheet ;
298
+ pub type RawServoStyleSheetBorrowedOrNull < ' a > = Option < & ' a RawServoStyleSheet > ;
299
+ enum RawServoStyleSheetVoid { }
300
+ pub struct RawServoStyleSheet ( RawServoStyleSheetVoid ) ;
301
+ pub type ServoComputedValuesStrong = :: gecko_bindings:: sugar:: ownership:: Strong < ServoComputedValues > ;
302
+ pub type ServoComputedValuesBorrowed < ' a > = & ' a ServoComputedValues ;
303
+ pub type ServoComputedValuesBorrowedOrNull < ' a > = Option < & ' a ServoComputedValues > ;
304
+ enum ServoComputedValuesVoid { }
305
+ pub struct ServoComputedValues ( ServoComputedValuesVoid ) ;
306
+ pub type RawServoDeclarationBlockStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoDeclarationBlock > ;
307
+ pub type RawServoDeclarationBlockBorrowed < ' a > = & ' a RawServoDeclarationBlock ;
308
+ pub type RawServoDeclarationBlockBorrowedOrNull < ' a > = Option < & ' a RawServoDeclarationBlock > ;
309
+ pub type RawServoStyleRuleStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoStyleRule > ;
310
+ pub type RawServoStyleRuleBorrowed < ' a > = & ' a RawServoStyleRule ;
311
+ pub type RawServoStyleRuleBorrowedOrNull < ' a > = Option < & ' a RawServoStyleRule > ;
312
+ pub type RawServoImportRuleStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoImportRule > ;
313
+ pub type RawServoImportRuleBorrowed < ' a > = & ' a RawServoImportRule ;
314
+ pub type RawServoImportRuleBorrowedOrNull < ' a > = Option < & ' a RawServoImportRule > ;
315
+ enum RawServoImportRuleVoid { }
316
+ pub struct RawServoImportRule ( RawServoImportRuleVoid ) ;
317
+ pub type RawServoAnimationValueStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoAnimationValue > ;
318
+ pub type RawServoAnimationValueBorrowed < ' a > = & ' a RawServoAnimationValue ;
319
+ pub type RawServoAnimationValueBorrowedOrNull < ' a > = Option < & ' a RawServoAnimationValue > ;
320
+ pub type RawServoKeyframeStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoKeyframe > ;
321
+ pub type RawServoKeyframeBorrowed < ' a > = & ' a RawServoKeyframe ;
322
+ pub type RawServoKeyframeBorrowedOrNull < ' a > = Option < & ' a RawServoKeyframe > ;
323
+ enum RawServoKeyframeVoid { }
324
+ pub struct RawServoKeyframe ( RawServoKeyframeVoid ) ;
325
+ pub type RawServoKeyframesRuleStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoKeyframesRule > ;
326
+ pub type RawServoKeyframesRuleBorrowed < ' a > = & ' a RawServoKeyframesRule ;
327
+ pub type RawServoKeyframesRuleBorrowedOrNull < ' a > = Option < & ' a RawServoKeyframesRule > ;
328
+ enum RawServoKeyframesRuleVoid { }
329
+ pub struct RawServoKeyframesRule ( RawServoKeyframesRuleVoid ) ;
330
+ pub type RawServoMediaListStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoMediaList > ;
331
+ pub type RawServoMediaListBorrowed < ' a > = & ' a RawServoMediaList ;
332
+ pub type RawServoMediaListBorrowedOrNull < ' a > = Option < & ' a RawServoMediaList > ;
333
+ enum RawServoMediaListVoid { }
334
+ pub struct RawServoMediaList ( RawServoMediaListVoid ) ;
335
+ pub type RawServoMediaRuleStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoMediaRule > ;
336
+ pub type RawServoMediaRuleBorrowed < ' a > = & ' a RawServoMediaRule ;
337
+ pub type RawServoMediaRuleBorrowedOrNull < ' a > = Option < & ' a RawServoMediaRule > ;
338
+ enum RawServoMediaRuleVoid { }
339
+ pub struct RawServoMediaRule ( RawServoMediaRuleVoid ) ;
340
+ pub type RawServoNamespaceRuleStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoNamespaceRule > ;
341
+ pub type RawServoNamespaceRuleBorrowed < ' a > = & ' a RawServoNamespaceRule ;
342
+ pub type RawServoNamespaceRuleBorrowedOrNull < ' a > = Option < & ' a RawServoNamespaceRule > ;
343
+ enum RawServoNamespaceRuleVoid { }
344
+ pub struct RawServoNamespaceRule ( RawServoNamespaceRuleVoid ) ;
345
+ pub type RawServoPageRuleStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoPageRule > ;
346
+ pub type RawServoPageRuleBorrowed < ' a > = & ' a RawServoPageRule ;
347
+ pub type RawServoPageRuleBorrowedOrNull < ' a > = Option < & ' a RawServoPageRule > ;
348
+ enum RawServoPageRuleVoid { }
349
+ pub struct RawServoPageRule ( RawServoPageRuleVoid ) ;
350
+ pub type RawServoSupportsRuleStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoSupportsRule > ;
351
+ pub type RawServoSupportsRuleBorrowed < ' a > = & ' a RawServoSupportsRule ;
352
+ pub type RawServoSupportsRuleBorrowedOrNull < ' a > = Option < & ' a RawServoSupportsRule > ;
353
+ enum RawServoSupportsRuleVoid { }
354
+ pub struct RawServoSupportsRule ( RawServoSupportsRuleVoid ) ;
355
+ pub type RawServoDocumentRuleStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoDocumentRule > ;
356
+ pub type RawServoDocumentRuleBorrowed < ' a > = & ' a RawServoDocumentRule ;
357
+ pub type RawServoDocumentRuleBorrowedOrNull < ' a > = Option < & ' a RawServoDocumentRule > ;
358
+ enum RawServoDocumentRuleVoid { }
359
+ pub struct RawServoDocumentRule ( RawServoDocumentRuleVoid ) ;
360
+ pub type RawServoRuleNodeStrong = :: gecko_bindings:: sugar:: ownership:: Strong < RawServoRuleNode > ;
361
+ pub type RawServoRuleNodeBorrowed < ' a > = & ' a RawServoRuleNode ;
362
+ pub type RawServoRuleNodeBorrowedOrNull < ' a > = Option < & ' a RawServoRuleNode > ;
363
+ enum RawServoRuleNodeVoid { }
364
+ pub struct RawServoRuleNode ( RawServoRuleNodeVoid ) ;
365
365
366
366
extern "C" {
367
367
pub fn Gecko_EnsureTArrayCapacity ( aArray : * mut :: std:: os:: raw:: c_void ,
@@ -874,10 +874,6 @@ extern "C" {
874
874
pub fn Gecko_SetLayerImageImageValue ( image : * mut nsStyleImage ,
875
875
aImageValue : * mut ImageValue ) ;
876
876
}
877
- extern "C" {
878
- pub fn Gecko_SetUrlImageValue ( image : * mut nsStyleImage ,
879
- uri : ServoBundledURI ) ;
880
- }
881
877
extern "C" {
882
878
pub fn Gecko_SetImageElement ( image : * mut nsStyleImage ,
883
879
atom : * mut nsIAtom ) ;
@@ -901,10 +897,6 @@ extern "C" {
901
897
pub fn Gecko_SetListStyleImageImageValue ( style_struct : * mut nsStyleList ,
902
898
aImageValue : * mut ImageValue ) ;
903
899
}
904
- extern "C" {
905
- pub fn Gecko_SetListStyleImage ( style_struct : * mut nsStyleList ,
906
- uri : ServoBundledURI ) ;
907
- }
908
900
extern "C" {
909
901
pub fn Gecko_CopyListStyleImageFrom ( dest : * mut nsStyleList ,
910
902
src : * const nsStyleList ) ;
@@ -917,10 +909,6 @@ extern "C" {
917
909
pub fn Gecko_SetCursorImageValue ( aCursor : * mut nsCursorImage ,
918
910
aImageValue : * mut ImageValue ) ;
919
911
}
920
- extern "C" {
921
- pub fn Gecko_SetCursorImage ( cursor : * mut nsCursorImage ,
922
- uri : ServoBundledURI ) ;
923
- }
924
912
extern "C" {
925
913
pub fn Gecko_CopyCursorArrayFrom ( dest : * mut nsStyleUserInterface ,
926
914
src : * const nsStyleUserInterface ) ;
@@ -929,10 +917,6 @@ extern "C" {
929
917
pub fn Gecko_SetContentDataImageValue ( aList : * mut nsStyleContentData ,
930
918
aImageValue : * mut ImageValue ) ;
931
919
}
932
- extern "C" {
933
- pub fn Gecko_SetContentDataImage ( content_data : * mut nsStyleContentData ,
934
- uri : ServoBundledURI ) ;
935
- }
936
920
extern "C" {
937
921
pub fn Gecko_SetContentDataArray ( content_data : * mut nsStyleContentData ,
938
922
type_ : nsStyleContentType , len : u32 ) ;
@@ -1751,6 +1735,9 @@ extern "C" {
1751
1735
pub fn Servo_StyleSet_Init ( pres_context : RawGeckoPresContextOwned )
1752
1736
-> RawServoStyleSetOwned ;
1753
1737
}
1738
+ extern "C" {
1739
+ pub fn Servo_StyleSet_Clear ( set : RawServoStyleSetBorrowed ) ;
1740
+ }
1754
1741
extern "C" {
1755
1742
pub fn Servo_StyleSet_RebuildData ( set : RawServoStyleSetBorrowed ) ;
1756
1743
}
0 commit comments