summaryrefslogtreecommitdiff
path: root/layout/style
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-06-14 11:52:16 +0000
committerMoonchild <moonchild@palemoon.org>2021-06-14 11:52:16 +0000
commita970411caf9b1951708efb4987733c6a4581454b (patch)
treef6d02670ceb4913e878aadfcb7b9ba9e0600c45f /layout/style
parente8be661944c730cb3b702cd7f7d97e0860eb9132 (diff)
downloaduxp-a970411caf9b1951708efb4987733c6a4581454b.tar.gz
Issue #1782: Remove Luna, Royale and Zune support from the platform.
These are obsolete system themes; the platform will fall back to generic/unknown theme support instead.
Diffstat (limited to 'layout/style')
-rw-r--r--layout/style/nsCSSRuleProcessor.cpp15
-rw-r--r--layout/style/nsMediaFeatures.cpp5
2 files changed, 0 insertions, 20 deletions
diff --git a/layout/style/nsCSSRuleProcessor.cpp b/layout/style/nsCSSRuleProcessor.cpp
index 810a8f8f00..6de279ac5c 100644
--- a/layout/style/nsCSSRuleProcessor.cpp
+++ b/layout/style/nsCSSRuleProcessor.cpp
@@ -1191,21 +1191,6 @@ InitSystemMetrics()
case LookAndFeel::eWindowsTheme_AeroLite:
sSystemMetrics->AppendElement(nsGkAtoms::windows_theme_aero_lite);
break;
- case LookAndFeel::eWindowsTheme_LunaBlue:
- sSystemMetrics->AppendElement(nsGkAtoms::windows_theme_luna_blue);
- break;
- case LookAndFeel::eWindowsTheme_LunaOlive:
- sSystemMetrics->AppendElement(nsGkAtoms::windows_theme_luna_olive);
- break;
- case LookAndFeel::eWindowsTheme_LunaSilver:
- sSystemMetrics->AppendElement(nsGkAtoms::windows_theme_luna_silver);
- break;
- case LookAndFeel::eWindowsTheme_Royale:
- sSystemMetrics->AppendElement(nsGkAtoms::windows_theme_royale);
- break;
- case LookAndFeel::eWindowsTheme_Zune:
- sSystemMetrics->AppendElement(nsGkAtoms::windows_theme_zune);
- break;
case LookAndFeel::eWindowsTheme_Generic:
sSystemMetrics->AppendElement(nsGkAtoms::windows_theme_generic);
break;
diff --git a/layout/style/nsMediaFeatures.cpp b/layout/style/nsMediaFeatures.cpp
index 9b5331a4a1..983dee839a 100644
--- a/layout/style/nsMediaFeatures.cpp
+++ b/layout/style/nsMediaFeatures.cpp
@@ -62,11 +62,6 @@ struct WindowsThemeName {
const WindowsThemeName themeStrings[] = {
{ LookAndFeel::eWindowsTheme_Aero, L"aero" },
{ LookAndFeel::eWindowsTheme_AeroLite, L"aero-lite" },
- { LookAndFeel::eWindowsTheme_LunaBlue, L"luna-blue" },
- { LookAndFeel::eWindowsTheme_LunaOlive, L"luna-olive" },
- { LookAndFeel::eWindowsTheme_LunaSilver, L"luna-silver" },
- { LookAndFeel::eWindowsTheme_Royale, L"royale" },
- { LookAndFeel::eWindowsTheme_Zune, L"zune" },
{ LookAndFeel::eWindowsTheme_Generic, L"generic" }
};