Bug 1693196 - Remove -moz-mac-fullscreen-button value. r=emilio

Depends on D105379

Differential Revision: https://phabricator.services.mozilla.com/D105380
This commit is contained in:
Markus Stange 2021-02-17 01:40:04 +00:00
Родитель da91221773
Коммит 3c57a55638
5 изменённых файлов: 0 добавлений и 16 удалений

Просмотреть файл

@ -196,7 +196,6 @@ exports.CSS_PROPERTIES = {
"-moz-mac-active-source-list-selection",
"-moz-mac-disclosure-button-closed",
"-moz-mac-disclosure-button-open",
"-moz-mac-fullscreen-button",
"-moz-mac-help-button",
"-moz-mac-source-list",
"-moz-mac-source-list-selection",
@ -1506,7 +1505,6 @@ exports.CSS_PROPERTIES = {
"-moz-mac-active-source-list-selection",
"-moz-mac-disclosure-button-closed",
"-moz-mac-disclosure-button-open",
"-moz-mac-fullscreen-button",
"-moz-mac-help-button",
"-moz-mac-source-list",
"-moz-mac-source-list-selection",
@ -3357,7 +3355,6 @@ exports.CSS_PROPERTIES = {
"-moz-mac-active-source-list-selection",
"-moz-mac-disclosure-button-closed",
"-moz-mac-disclosure-button-open",
"-moz-mac-fullscreen-button",
"-moz-mac-help-button",
"-moz-mac-source-list",
"-moz-mac-source-list-selection",

Просмотреть файл

@ -84,7 +84,6 @@ const NON_CONTENT_ACCESSIBLE_VALUES = {
"-moz-win-glass",
"-moz-win-borderless-glass",
"-moz-win-exclude-glass",
"-moz-mac-fullscreen-button",
"-moz-mac-help-button",
"-moz-window-button-box",
"-moz-window-button-box-maximized",

Просмотреть файл

@ -1789,9 +1789,6 @@ pub enum Appearance {
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
MozWinExcludeGlass,
/// Titlebar elements on the Mac.
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
MozMacFullscreenButton,
/// Mac help button.
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
MozMacHelpButton,

Просмотреть файл

@ -36,7 +36,6 @@ class nsNativeThemeCocoa : private nsNativeTheme, public nsITheme {
eThemeGeometryTypeToolbar,
eThemeGeometryTypeToolbox,
eThemeGeometryTypeWindowButtons,
eThemeGeometryTypeFullscreenButton,
eThemeGeometryTypeMenu,
eThemeGeometryTypeHighlightedMenuItem,
eThemeGeometryTypeVibrancyLight,

Просмотреть файл

@ -3491,11 +3491,6 @@ nsNativeThemeCocoa::GetMinimumWidgetSize(nsPresContext* aPresContext, nsIFrame*
break;
}
case StyleAppearance::MozMacFullscreenButton: {
*aIsOverridable = false;
break;
}
case StyleAppearance::ProgressBar: {
SInt32 barHeight = 0;
::GetThemeMetric(kThemeMetricNormalProgressBarThickness, &barHeight);
@ -3676,7 +3671,6 @@ bool nsNativeThemeCocoa::ThemeSupportsWidget(nsPresContext* aPresContext, nsIFra
case StyleAppearance::Menuarrow:
case StyleAppearance::Menuitem:
case StyleAppearance::Menuseparator:
case StyleAppearance::MozMacFullscreenButton:
case StyleAppearance::Tooltip:
case StyleAppearance::Checkbox:
@ -3863,8 +3857,6 @@ nsITheme::ThemeGeometryType nsNativeThemeCocoa::ThemeGeometryTypeForWidget(
return eThemeGeometryTypeToolbox;
case StyleAppearance::MozWindowButtonBox:
return eThemeGeometryTypeWindowButtons;
case StyleAppearance::MozMacFullscreenButton:
return eThemeGeometryTypeFullscreenButton;
case StyleAppearance::MozMacVibrancyLight:
return eThemeGeometryTypeVibrancyLight;
case StyleAppearance::MozMacVibrancyDark: