mirror of
https://github.com/servo/servo.git
synced 2025-07-08 16:03:40 +01:00
Auto merge of #18508 - mstange:add-fsbgc-system-colors, r=emilio
style: Add system colors from bug 1387594. <!-- Please describe your changes on the following line: --> These are the necessary servo changes for https://bugzilla.mozilla.org/show_bug.cgi?id=1387594 . I'm also re-importing the generated Gecko bindings from my object directory: - servo/components/style/gecko/generated/structs_debug.rs - servo/components/style/gecko/generated/structs_release.rs But the number of changes to those files surprises me. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because they're tested by compiling mozilla-central once the patches from https://bugzilla.mozilla.org/show_bug.cgi?id=1387594 land - without this patch, Firefox won't compile. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18508) <!-- Reviewable:end -->
This commit is contained in:
commit
28b1c3818f
5 changed files with 2070 additions and 4687 deletions
|
@ -1798,6 +1798,8 @@ cfg_if! {
|
||||||
pub static nsGkAtoms_only: *mut nsIAtom;
|
pub static nsGkAtoms_only: *mut nsIAtom;
|
||||||
#[link_name = "_ZN9nsGkAtoms9onmessageE"]
|
#[link_name = "_ZN9nsGkAtoms9onmessageE"]
|
||||||
pub static nsGkAtoms_onmessage: *mut nsIAtom;
|
pub static nsGkAtoms_onmessage: *mut nsIAtom;
|
||||||
|
#[link_name = "_ZN9nsGkAtoms14onmessageerrorE"]
|
||||||
|
pub static nsGkAtoms_onmessageerror: *mut nsIAtom;
|
||||||
#[link_name = "_ZN9nsGkAtoms11onmousedownE"]
|
#[link_name = "_ZN9nsGkAtoms11onmousedownE"]
|
||||||
pub static nsGkAtoms_onmousedown: *mut nsIAtom;
|
pub static nsGkAtoms_onmousedown: *mut nsIAtom;
|
||||||
#[link_name = "_ZN9nsGkAtoms12onmouseenterE"]
|
#[link_name = "_ZN9nsGkAtoms12onmouseenterE"]
|
||||||
|
@ -6961,6 +6963,8 @@ cfg_if! {
|
||||||
pub static nsGkAtoms_only: *mut nsIAtom;
|
pub static nsGkAtoms_only: *mut nsIAtom;
|
||||||
#[link_name = "?onmessage@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
#[link_name = "?onmessage@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||||
pub static nsGkAtoms_onmessage: *mut nsIAtom;
|
pub static nsGkAtoms_onmessage: *mut nsIAtom;
|
||||||
|
#[link_name = "?onmessageerror@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||||
|
pub static nsGkAtoms_onmessageerror: *mut nsIAtom;
|
||||||
#[link_name = "?onmousedown@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
#[link_name = "?onmousedown@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||||
pub static nsGkAtoms_onmousedown: *mut nsIAtom;
|
pub static nsGkAtoms_onmousedown: *mut nsIAtom;
|
||||||
#[link_name = "?onmouseenter@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
#[link_name = "?onmouseenter@nsGkAtoms@@2PEAVnsIAtom@@EA"]
|
||||||
|
@ -12124,6 +12128,8 @@ cfg_if! {
|
||||||
pub static nsGkAtoms_only: *mut nsIAtom;
|
pub static nsGkAtoms_only: *mut nsIAtom;
|
||||||
#[link_name = "\x01?onmessage@nsGkAtoms@@2PAVnsIAtom@@A"]
|
#[link_name = "\x01?onmessage@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||||
pub static nsGkAtoms_onmessage: *mut nsIAtom;
|
pub static nsGkAtoms_onmessage: *mut nsIAtom;
|
||||||
|
#[link_name = "\x01?onmessageerror@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||||
|
pub static nsGkAtoms_onmessageerror: *mut nsIAtom;
|
||||||
#[link_name = "\x01?onmousedown@nsGkAtoms@@2PAVnsIAtom@@A"]
|
#[link_name = "\x01?onmousedown@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||||
pub static nsGkAtoms_onmousedown: *mut nsIAtom;
|
pub static nsGkAtoms_onmousedown: *mut nsIAtom;
|
||||||
#[link_name = "\x01?onmouseenter@nsGkAtoms@@2PAVnsIAtom@@A"]
|
#[link_name = "\x01?onmouseenter@nsGkAtoms@@2PAVnsIAtom@@A"]
|
||||||
|
@ -17290,6 +17296,8 @@ macro_rules! atom {
|
||||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_only as *mut _) } };
|
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_only as *mut _) } };
|
||||||
("onmessage") =>
|
("onmessage") =>
|
||||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmessage as *mut _) } };
|
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmessage as *mut _) } };
|
||||||
|
("onmessageerror") =>
|
||||||
|
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmessageerror as *mut _) } };
|
||||||
("onmousedown") =>
|
("onmousedown") =>
|
||||||
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmousedown as *mut _) } };
|
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmousedown as *mut _) } };
|
||||||
("onmouseenter") =>
|
("onmouseenter") =>
|
||||||
|
|
|
@ -2956,6 +2956,10 @@ extern "C" {
|
||||||
snapshots:
|
snapshots:
|
||||||
*const ServoElementSnapshotTable);
|
*const ServoElementSnapshotTable);
|
||||||
}
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Servo_HasPendingRestyleAncestor(element: RawGeckoElementBorrowed)
|
||||||
|
-> bool;
|
||||||
|
}
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Gecko_CreateCSSErrorReporter(sheet: *mut ServoStyleSheet,
|
pub fn Gecko_CreateCSSErrorReporter(sheet: *mut ServoStyleSheet,
|
||||||
loader: *mut Loader, uri: *mut nsIURI)
|
loader: *mut Loader, uri: *mut nsIURI)
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -40,6 +40,10 @@ pub mod system_colors {
|
||||||
-moz-mac-defaultbuttontext -moz-mac-focusring -moz-mac-menuselect
|
-moz-mac-defaultbuttontext -moz-mac-focusring -moz-mac-menuselect
|
||||||
-moz-mac-menushadow -moz-mac-menutextdisable -moz-mac-menutextselect
|
-moz-mac-menushadow -moz-mac-menutextdisable -moz-mac-menutextselect
|
||||||
-moz-mac-disabledtoolbartext -moz-mac-secondaryhighlight
|
-moz-mac-disabledtoolbartext -moz-mac-secondaryhighlight
|
||||||
|
-moz-mac-vibrancy-light -moz-mac-vibrancy-dark -moz-mac-menupopup
|
||||||
|
-moz-mac-menuitem -moz-mac-active-menuitem -moz-mac-source-list
|
||||||
|
-moz-mac-source-list-selection -moz-mac-active-source-list-selection
|
||||||
|
-moz-mac-tooltip
|
||||||
-moz-menuhover -moz-menuhovertext -moz-menubartext -moz-menubarhovertext
|
-moz-menuhover -moz-menuhovertext -moz-menubartext -moz-menubarhovertext
|
||||||
-moz-oddtreerow -moz-win-mediatext -moz-win-communicationstext
|
-moz-oddtreerow -moz-win-mediatext -moz-win-communicationstext
|
||||||
-moz-win-accentcolor -moz-win-accentcolortext
|
-moz-win-accentcolor -moz-win-accentcolortext
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue