Searched refs:NativeTheme (Results 1 - 25 of 114) sorted by relevance

12345

/external/chromium_org/ui/native_theme/
H A Dnative_theme.cc11 void NativeTheme::SetScrollbarColors(unsigned inactive_color,
19 // NativeTheme::instance() is implemented in the platform specific source files,
22 void NativeTheme::AddObserver(NativeThemeObserver* observer) {
26 void NativeTheme::RemoveObserver(NativeThemeObserver* observer) {
30 void NativeTheme::NotifyObservers() {
35 NativeTheme::NativeTheme() function in class:ui::NativeTheme
41 NativeTheme::~NativeTheme() {}
H A Dnative_theme_mac_unittest.cc16 NativeTheme* native_theme = NativeTheme::instance();
18 for (int i = 0; i < NativeTheme::kColorId_NumColors; ++i) {
23 native_theme->GetSystemColor(static_cast<NativeTheme::ColorId>(i)))
31 NativeTheme* native_theme = NativeTheme::instance();
35 native_theme->GetSystemColor(NativeTheme::kColorId_WindowBackground);
H A Dnative_theme_aurawin.cc15 bool IsScrollbarPart(NativeTheme::Part part) {
17 case NativeTheme::kScrollbarDownArrow:
18 case NativeTheme::kScrollbarLeftArrow:
19 case NativeTheme::kScrollbarRightArrow:
20 case NativeTheme::kScrollbarUpArrow:
21 case NativeTheme::kScrollbarHorizontalThumb:
22 case NativeTheme::kScrollbarVerticalThumb:
23 case NativeTheme::kScrollbarHorizontalTrack:
24 case NativeTheme::kScrollbarVerticalTrack:
25 case NativeTheme
[all...]
H A Dnative_theme_observer.h12 class NativeTheme;
19 virtual void OnNativeThemeUpdated(ui::NativeTheme* observed_theme) = 0;
H A Dcommon_theme.h23 NativeTheme::ColorId color_id,
27 NativeTheme::Part part,
28 NativeTheme::State state,
29 const NativeTheme::ExtraParams& extra);
38 const NativeTheme::MenuSeparatorExtraParams& extra);
48 NativeTheme::State state,
H A Dcommon_theme.cc48 bool CommonThemeGetSystemColor(NativeTheme::ColorId color_id, SkColor* color) {
51 case NativeTheme::kColorId_MenuBorderColor:
54 case NativeTheme::kColorId_EnabledMenuButtonBorderColor:
57 case NativeTheme::kColorId_FocusedMenuButtonBorderColor:
60 case NativeTheme::kColorId_HoverMenuButtonBorderColor:
63 case NativeTheme::kColorId_MenuSeparatorColor:
66 case NativeTheme::kColorId_MenuBackgroundColor:
69 case NativeTheme::kColorId_FocusedMenuItemBackgroundColor:
72 case NativeTheme::kColorId_HoverMenuItemBackgroundColor:
75 case NativeTheme
[all...]
H A Dnative_theme_android.cc14 NativeTheme* NativeTheme::instance() {
/external/chromium_org/ui/views/
H A Dnative_theme_delegate.h26 virtual ui::NativeTheme::Part GetThemePart() const = 0;
32 virtual ui::NativeTheme::State GetThemeState(
33 ui::NativeTheme::ExtraParams* params) const = 0;
40 virtual ui::NativeTheme::State GetBackgroundThemeState(
41 ui::NativeTheme::ExtraParams* params) const = 0;
46 virtual ui::NativeTheme::State GetForegroundThemeState(
47 ui::NativeTheme::ExtraParams* params) const = 0;
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_config_mac.cc13 void MenuConfig::Init(const ui::NativeTheme* theme) {
18 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) {
20 MenuConfig, mac_instance, (theme ? theme : ui::NativeTheme::instance()));
H A Dmenu_config.h13 class NativeTheme;
21 explicit MenuConfig(const ui::NativeTheme* theme);
24 static const MenuConfig& instance(const ui::NativeTheme* theme);
120 const ui::NativeTheme* native_theme;
131 void Init(const ui::NativeTheme* theme);
134 void InitAura(const ui::NativeTheme* theme);
H A Dmenu_config_win.cc19 using ui::NativeTheme;
24 void MenuConfig::Init(const NativeTheme* theme) {
40 NativeTheme::ExtraParams extra;
44 NativeTheme::kMenuCheck, NativeTheme::kNormal, extra);
55 NativeTheme::kMenuCheck, NativeTheme::kNormal, extra);
62 NativeTheme::kMenuPopupArrow, NativeTheme::kNormal, extra);
82 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* them
[all...]
H A Dmenu_config_aura.cc26 void MenuConfig::Init(const ui::NativeTheme* theme) {
32 void MenuConfig::InitAura(const ui::NativeTheme* theme) {
53 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) {
57 theme : ui::NativeTheme::instance());
H A Dmenu_separator_win.cc36 ui::NativeTheme::ExtraParams extra;
38 canvas->sk_canvas(), ui::NativeTheme::kMenuPopupGutter,
39 ui::NativeTheme::kNormal, gutter_bounds, extra);
43 ui::NativeTheme::ExtraParams extra;
56 canvas->sk_canvas(), ui::NativeTheme::kMenuPopupSeparator,
57 ui::NativeTheme::kNormal, separator_bounds, extra);
/external/chromium_org/ui/views/controls/scrollbar/
H A Dnative_scroll_bar_wrapper.h11 class NativeTheme;
39 static int GetVerticalScrollBarWidth(const ui::NativeTheme* theme);
40 static int GetHorizontalScrollBarHeight(const ui::NativeTheme* theme);
H A Dnative_scroll_bar_views.cc44 ui::NativeTheme::ExtraParams GetNativeThemeParams() const;
45 ui::NativeTheme::Part GetNativeThemePart() const;
46 ui::NativeTheme::State GetNativeThemeState() const;
66 ui::NativeTheme::ExtraParams GetNativeThemeParams() const;
67 ui::NativeTheme::Part GetNativeThemePart() const;
68 ui::NativeTheme::State GetNativeThemeState() const;
99 ui::NativeTheme::ExtraParams
101 ui::NativeTheme::ExtraParams params;
115 ui::NativeTheme::Part
119 return ui::NativeTheme
[all...]
H A Dnative_scroll_bar.h16 class NativeTheme;
35 static int GetHorizontalScrollBarHeight(const ui::NativeTheme* theme);
36 static int GetVerticalScrollBarWidth(const ui::NativeTheme* theme);
/external/chromium_org/content/child/
H A Dwebthemeengine_impl_default.cc19 static ui::NativeTheme::Part NativeThemePart(
23 return ui::NativeTheme::kScrollbarDownArrow;
25 return ui::NativeTheme::kScrollbarLeftArrow;
27 return ui::NativeTheme::kScrollbarRightArrow;
29 return ui::NativeTheme::kScrollbarUpArrow;
31 return ui::NativeTheme::kScrollbarHorizontalThumb;
33 return ui::NativeTheme::kScrollbarVerticalThumb;
35 return ui::NativeTheme::kScrollbarHorizontalTrack;
37 return ui::NativeTheme::kScrollbarVerticalTrack;
39 return ui::NativeTheme
[all...]
H A Dwebfallbackthemeengine_impl.cc19 static ui::NativeTheme::Part NativeThemePart(
23 return ui::NativeTheme::kScrollbarDownArrow;
25 return ui::NativeTheme::kScrollbarLeftArrow;
27 return ui::NativeTheme::kScrollbarRightArrow;
29 return ui::NativeTheme::kScrollbarUpArrow;
31 return ui::NativeTheme::kScrollbarHorizontalThumb;
33 return ui::NativeTheme::kScrollbarVerticalThumb;
35 return ui::NativeTheme::kScrollbarHorizontalTrack;
37 return ui::NativeTheme::kScrollbarVerticalTrack;
39 return ui::NativeTheme
[all...]
H A Dwebthemeengine_impl_android.cc20 static ui::NativeTheme::Part NativeThemePart(
24 return ui::NativeTheme::kScrollbarDownArrow;
26 return ui::NativeTheme::kScrollbarLeftArrow;
28 return ui::NativeTheme::kScrollbarRightArrow;
30 return ui::NativeTheme::kScrollbarUpArrow;
38 return static_cast<ui::NativeTheme::Part>(0);
40 return ui::NativeTheme::kCheckbox;
42 return ui::NativeTheme::kRadio;
44 return ui::NativeTheme::kPushButton;
46 return ui::NativeTheme
[all...]
/external/chromium_org/mojo/services/html_viewer/
H A Dwebthemeengine_impl.cc19 static ui::NativeTheme::Part NativeThemePart(
23 return ui::NativeTheme::kScrollbarDownArrow;
25 return ui::NativeTheme::kScrollbarLeftArrow;
27 return ui::NativeTheme::kScrollbarRightArrow;
29 return ui::NativeTheme::kScrollbarUpArrow;
31 return ui::NativeTheme::kScrollbarHorizontalThumb;
33 return ui::NativeTheme::kScrollbarVerticalThumb;
35 return ui::NativeTheme::kScrollbarHorizontalTrack;
37 return ui::NativeTheme::kScrollbarVerticalTrack;
39 return ui::NativeTheme
[all...]
/external/chromium_org/ui/views/controls/button/
H A Dbutton.cc16 Button::ButtonState Button::GetButtonStateFrom(ui::NativeTheme::State state) {
18 case ui::NativeTheme::kDisabled: return Button::STATE_DISABLED;
19 case ui::NativeTheme::kHovered: return Button::STATE_HOVERED;
20 case ui::NativeTheme::kNormal: return Button::STATE_NORMAL;
21 case ui::NativeTheme::kPressed: return Button::STATE_PRESSED;
22 case ui::NativeTheme::kNumStates: NOTREACHED();
H A Dblue_button.cc30 GetSystemColor(ui::NativeTheme::kColorId_BlueButtonEnabledColor));
32 GetSystemColor(ui::NativeTheme::kColorId_BlueButtonHoverColor));
34 GetSystemColor(ui::NativeTheme::kColorId_BlueButtonPressedColor));
36 GetSystemColor(ui::NativeTheme::kColorId_BlueButtonDisabledColor));
44 ui::NativeTheme::kColorId_BlueButtonShadowColor))));
H A Dlabel_button.h107 virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE;
110 virtual void GetExtraParams(ui::NativeTheme::ExtraParams* params) const;
112 // Resets colors from the NativeTheme, explicitly set colors are unchanged.
122 // Updates the border as per the NativeTheme, unless a different border was
143 virtual ui::NativeTheme::Part GetThemePart() const OVERRIDE;
144 virtual ui::NativeTheme::State GetThemeState(
145 ui::NativeTheme::ExtraParams* params) const OVERRIDE;
147 virtual ui::NativeTheme::State GetBackgroundThemeState(
148 ui::NativeTheme::ExtraParams* params) const OVERRIDE;
149 virtual ui::NativeTheme
[all...]
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dgtk2_border.h41 virtual void OnNativeThemeUpdated(ui::NativeTheme* observed_theme) OVERRIDE;
44 void PaintState(const ui::NativeTheme::State state,
45 const ui::NativeTheme::ExtraParams& extra,
61 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_;
/external/chromium_org/ash/system/tray/
H A Dtray_popup_label_button_border.cc69 ui::NativeTheme::ExtraParams extra;
70 const ui::NativeTheme::State state =
72 if (state == ui::NativeTheme::kNormal ||
73 state == ui::NativeTheme::kDisabled) {

Completed in 299 milliseconds

12345