diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-04 23:58:08 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-04 23:58:08 +0100 |
commit | a9a672fd681acca009741acf24b5e2076843394d (patch) | |
tree | fda76eb6688358f101fc9ac4f4d99b0cc0abab26 /layout/style/nsCSSRuleProcessor.cpp | |
parent | 7edd685eee95759d66a457cf428f42e0dda94671 (diff) | |
parent | 998542d94d86d2bf1f0ac247fcf478c31dcdafec (diff) | |
download | UXP-a9a672fd681acca009741acf24b5e2076843394d.tar UXP-a9a672fd681acca009741acf24b5e2076843394d.tar.gz UXP-a9a672fd681acca009741acf24b5e2076843394d.tar.lz UXP-a9a672fd681acca009741acf24b5e2076843394d.tar.xz UXP-a9a672fd681acca009741acf24b5e2076843394d.zip |
Merge branch 'ported-moebius'
Diffstat (limited to 'layout/style/nsCSSRuleProcessor.cpp')
-rw-r--r-- | layout/style/nsCSSRuleProcessor.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/style/nsCSSRuleProcessor.cpp b/layout/style/nsCSSRuleProcessor.cpp index 07a4ef57b..8760a330e 100644 --- a/layout/style/nsCSSRuleProcessor.cpp +++ b/layout/style/nsCSSRuleProcessor.cpp @@ -1127,6 +1127,16 @@ InitSystemMetrics() sSystemMetrics->AppendElement(nsGkAtoms::mac_yosemite_theme); } + rv = LookAndFeel::GetInt(LookAndFeel::eIntID_WindowsAccentColorApplies, &metricResult); + if (NS_SUCCEEDED(rv) && metricResult) { + sSystemMetrics->AppendElement(nsGkAtoms::windows_accent_color_applies); + } + + rv = LookAndFeel::GetInt(LookAndFeel::eIntID_WindowsAccentColorIsDark, &metricResult); + if (NS_SUCCEEDED(rv) && metricResult) { + sSystemMetrics->AppendElement(nsGkAtoms::windows_accent_color_is_dark); + } + rv = LookAndFeel::GetInt(LookAndFeel::eIntID_DWMCompositor, &metricResult); if (NS_SUCCEEDED(rv) && metricResult) { sSystemMetrics->AppendElement(nsGkAtoms::windows_compositor); |