Home
last modified time | relevance | path

Searched refs:native_theme (Results 1 – 25 of 119) sorted by relevance

12345

/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/native_theme/
H A Dnative_theme_mac_unittest.mm5 #include "ui/native_theme/native_theme_mac.h"
24 ASSERT_TRUE(native_theme);
42 ASSERT_TRUE(native_theme);
44 native_theme->set_high_contrast(false);
45 native_theme->set_preferred_color_scheme(PrefScheme::kDark);
51 native_theme->set_high_contrast(true);
58 native_theme->set_high_contrast(false);
65 TestNativeThemeMac native_theme;
67 native_theme.set_high_contrast(false);
68 EXPECT_EQ(native_theme.CalculatePreferredContrast(),
[all …]
H A DBUILD.gn8 component("native_theme") {
14 "native_theme.cc",
15 "native_theme.h",
95 ":native_theme",
114 ":native_theme",
148 ":native_theme",
H A Dnative_theme_unittest.cc88 NativeTheme* native_theme = NativeTheme::GetInstanceForNativeUi(); in TEST_P() local
94 native_theme->GetSystemColor(color_id, color_scheme)}; in TEST_P()
99 native_theme->GetSystemColor(color_id, color_scheme)}; in TEST_P()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/themes/
H A Dincreased_contrast_theme_supplier.cc10 ui::NativeTheme* native_theme) in IncreasedContrastThemeSupplier() argument
12 native_theme_(native_theme), in IncreasedContrastThemeSupplier()
13 is_dark_mode_(native_theme->ShouldUseDarkColors()) { in IncreasedContrastThemeSupplier()
14 native_theme->AddObserver(this); in IncreasedContrastThemeSupplier()
70 ui::NativeTheme* native_theme) { in OnNativeThemeUpdated() argument
71 is_dark_mode_ = native_theme->ShouldUseDarkColors(); in OnNativeThemeUpdated()
H A Dtheme_service.cc268 ui::NativeTheme* native_theme = ui::NativeTheme::GetInstanceForNativeUi(); in Init() local
269 if (native_theme) in Init()
270 native_theme_observer_.Add(native_theme); in Init()
354 ui::NativeTheme* native_theme = ui::NativeTheme::GetInstanceForNativeUi(); in UseDefaultTheme() local
355 if (theme_helper_.ShouldUseIncreasedContrastThemeSupplier(native_theme)) { in UseDefaultTheme()
356 SetCustomDefaultTheme(new IncreasedContrastThemeSupplier(native_theme)); in UseDefaultTheme()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/
H A Dtheme_helper.cc25 ui::NativeTheme* native_theme) { in MakeUpdateSystemColorInfoParams() argument
28 params->is_dark_mode = native_theme->ShouldUseDarkColors(); in MakeUpdateSystemColorInfoParams()
29 params->is_high_contrast = native_theme->UsesHighContrastColors(); in MakeUpdateSystemColorInfoParams()
30 const auto& colors = native_theme->GetSystemColors(); in MakeUpdateSystemColorInfoParams()
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/
H A Dtheme_helper.cc25 ui::NativeTheme* native_theme) { in MakeUpdateSystemColorInfoParams() argument
28 params->is_dark_mode = native_theme->ShouldUseDarkColors(); in MakeUpdateSystemColorInfoParams()
29 params->is_high_contrast = native_theme->UsesHighContrastColors(); in MakeUpdateSystemColorInfoParams()
30 const auto& colors = native_theme->GetSystemColors(); in MakeUpdateSystemColorInfoParams()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/native_theme/
H A DBUILD.gn14 component("native_theme") {
20 "native_theme.cc",
21 "native_theme.h",
105 ":native_theme",
124 ":native_theme",
153 ":native_theme",
H A Dnative_theme_mac_unittest.cc15 NativeTheme* native_theme = NativeTheme::GetInstanceForNativeUi(); in TEST() local
16 ASSERT_TRUE(native_theme); in TEST()
22 native_theme->GetSystemColor(static_cast<NativeTheme::ColorId>(i))) in TEST()
H A Dnative_theme_unittest.cc88 NativeTheme* native_theme = NativeTheme::GetInstanceForNativeUi(); in TEST_P() local
94 native_theme->GetSystemColor(color_id, color_scheme)}; in TEST_P()
99 native_theme->GetSystemColor(color_id, color_scheme)}; in TEST_P()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/paint/
H A DDEPS11 "+ui/native_theme/native_theme.h",
12 "+ui/native_theme/native_theme_base.h",
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/paint/
H A DDEPS11 "+ui/native_theme/native_theme.h",
12 "+ui/native_theme/native_theme_base.h",
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/controls/button/
H A Dmd_text_button_unittest.cc41 const ui::NativeTheme* native_theme = button->GetNativeTheme(); in TEST_F() local
60 native_theme->GetSystemColor( in TEST_F()
75 native_theme->GetSystemColor( in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/layout/
H A DDEPS3 "+ui/native_theme/native_theme.h",
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/layout/
H A DDEPS3 "+ui/native_theme/native_theme.h",
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/widget/compositing/
H A DDEPS22 "+ui/native_theme/native_theme_features.h",
23 "+ui/native_theme/overlay_scrollbar_constants_aura.h",
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/accessibility/
H A Dcaption_util.cc45 ui::NativeTheme* native_theme = ui::NativeTheme::GetInstanceForWeb(); in GetCaptionStyleFromUserSettings() local
46 style = native_theme->GetSystemCaptionStyle(); in GetCaptionStyleFromUserSettings()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/favicon/
H A Dfavicon_utils.cc161 const ui::NativeTheme* native_theme = in GetDefaultFavicon() local
163 bool is_dark = native_theme && native_theme->ShouldUseDarkColors(); in GetDefaultFavicon()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/media_message_center/
H A DBUILD.gn37 "//ui/native_theme",
62 "//ui/native_theme:test_support",
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/corewm/
H A Dtooltip_aura.cc251 ui::NativeTheme* native_theme = widget_->GetNativeTheme(); in SetText() local
253 native_theme->GetSystemColor(ui::NativeTheme::kColorId_TooltipBackground); in SetText()
256 background_color, native_theme->GetSystemColor( in SetText()
260 native_theme->GetSystemColor(ui::NativeTheme::kColorId_TooltipText); in SetText()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/media_message_center/
H A DBUILD.gn43 "//ui/native_theme",
70 "//ui/native_theme:test_support",
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/corewm/
H A Dtooltip_aura.cc269 ui::NativeTheme* native_theme = widget_->GetNativeTheme(); in SetText() local
271 native_theme->GetSystemColor(ui::NativeTheme::kColorId_TooltipBackground); in SetText()
274 background_color, native_theme->GetSystemColor( in SetText()
278 native_theme->GetSystemColor(ui::NativeTheme::kColorId_TooltipText); in SetText()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/media_router/
H A Dcast_toolbar_button_unittest.cc102 ui::NativeTheme* native_theme = button_->GetNativeTheme(); in SetUp() local
109 native_theme->GetSystemColor( in SetUp()
113 native_theme->GetSystemColor( in SetUp()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/accessibility/
H A Daccessibility_focus_highlight.cc139 ui::NativeTheme* native_theme = ui::NativeTheme::GetInstanceForWeb(); in GetHighlightColor()
140 SkColor theme_color = native_theme->GetSystemColor( in GetHighlightColor()
146 return native_theme->FocusRingColorForBaseColor(theme_color); in GetHighlightColor()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/controls/menu/
H A Dmenu_scroll_view_container.cc272 const ui::NativeTheme* native_theme = GetNativeTheme(); in CreateDefaultBorder() local
275 (native_theme && native_theme->UsesHighContrastColors()); in CreateDefaultBorder()

12345