Home
last modified time | relevance | path

Searched refs:NativeTheme (Results 1 – 25 of 106) sorted by relevance

12345

/external/chromium_org/webkit/child/
Dwebthemeengine_impl_win.cc32 static ui::NativeTheme::State WebButtonStateToGfx( in WebButtonStateToGfx()
33 int part, int state, ui::NativeTheme::ButtonExtraParams* extra) { in WebButtonStateToGfx()
34 ui::NativeTheme::State gfx_state = ui::NativeTheme::kNormal; in WebButtonStateToGfx()
38 extra->background_color = ui::NativeTheme::instance()->GetSystemColor( in WebButtonStateToGfx()
39 ui::NativeTheme::kColorId_ButtonBackgroundColor); in WebButtonStateToGfx()
44 gfx_state = ui::NativeTheme::kNormal; in WebButtonStateToGfx()
50 gfx_state = ui::NativeTheme::kHovered; in WebButtonStateToGfx()
56 gfx_state = ui::NativeTheme::kPressed; in WebButtonStateToGfx()
62 gfx_state = ui::NativeTheme::kDisabled; in WebButtonStateToGfx()
68 gfx_state = ui::NativeTheme::kNormal; in WebButtonStateToGfx()
[all …]
Dwebthemeengine_impl_android.cc20 static ui::NativeTheme::Part NativeThemePart( in NativeThemePart()
24 return ui::NativeTheme::kScrollbarDownArrow; in NativeThemePart()
26 return ui::NativeTheme::kScrollbarLeftArrow; in NativeThemePart()
28 return ui::NativeTheme::kScrollbarRightArrow; in NativeThemePart()
30 return ui::NativeTheme::kScrollbarUpArrow; in NativeThemePart()
34 return static_cast<ui::NativeTheme::Part>(0); in NativeThemePart()
38 return static_cast<ui::NativeTheme::Part>(0); in NativeThemePart()
42 return static_cast<ui::NativeTheme::Part>(0); in NativeThemePart()
46 return static_cast<ui::NativeTheme::Part>(0); in NativeThemePart()
48 return ui::NativeTheme::kCheckbox; in NativeThemePart()
[all …]
Dwebthemeengine_impl_default.cc19 static ui::NativeTheme::Part NativeThemePart( in NativeThemePart()
23 return ui::NativeTheme::kScrollbarDownArrow; in NativeThemePart()
25 return ui::NativeTheme::kScrollbarLeftArrow; in NativeThemePart()
27 return ui::NativeTheme::kScrollbarRightArrow; in NativeThemePart()
29 return ui::NativeTheme::kScrollbarUpArrow; in NativeThemePart()
31 return ui::NativeTheme::kScrollbarHorizontalThumb; in NativeThemePart()
33 return ui::NativeTheme::kScrollbarVerticalThumb; in NativeThemePart()
35 return ui::NativeTheme::kScrollbarHorizontalTrack; in NativeThemePart()
37 return ui::NativeTheme::kScrollbarVerticalTrack; in NativeThemePart()
39 return ui::NativeTheme::kCheckbox; in NativeThemePart()
[all …]
Dwebfallbackthemeengine_impl.cc19 static ui::NativeTheme::Part NativeThemePart( in NativeThemePart()
23 return ui::NativeTheme::kScrollbarDownArrow; in NativeThemePart()
25 return ui::NativeTheme::kScrollbarLeftArrow; in NativeThemePart()
27 return ui::NativeTheme::kScrollbarRightArrow; in NativeThemePart()
29 return ui::NativeTheme::kScrollbarUpArrow; in NativeThemePart()
31 return ui::NativeTheme::kScrollbarHorizontalThumb; in NativeThemePart()
33 return ui::NativeTheme::kScrollbarVerticalThumb; in NativeThemePart()
35 return ui::NativeTheme::kScrollbarHorizontalTrack; in NativeThemePart()
37 return ui::NativeTheme::kScrollbarVerticalTrack; in NativeThemePart()
39 return ui::NativeTheme::kCheckbox; in NativeThemePart()
[all …]
/external/chromium_org/ui/views/controls/scrollbar/
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; in GetNativeThemeParams()
115 ui::NativeTheme::Part
119 return ui::NativeTheme::kScrollbarUpArrow; in GetNativeThemePart()
[all …]
Dnative_scroll_bar_wrapper.h11 class NativeTheme; variable
39 static int GetVerticalScrollBarWidth(const ui::NativeTheme* theme);
40 static int GetHorizontalScrollBarHeight(const ui::NativeTheme* theme);
/external/chromium_org/ui/native_theme/
Dcommon_theme.cc40 bool CommonThemeGetSystemColor(NativeTheme::ColorId color_id, SkColor* color) { in CommonThemeGetSystemColor()
43 case NativeTheme::kColorId_MenuBorderColor: in CommonThemeGetSystemColor()
46 case NativeTheme::kColorId_EnabledMenuButtonBorderColor: in CommonThemeGetSystemColor()
49 case NativeTheme::kColorId_FocusedMenuButtonBorderColor: in CommonThemeGetSystemColor()
52 case NativeTheme::kColorId_HoverMenuButtonBorderColor: in CommonThemeGetSystemColor()
55 case NativeTheme::kColorId_MenuSeparatorColor: in CommonThemeGetSystemColor()
58 case NativeTheme::kColorId_MenuBackgroundColor: in CommonThemeGetSystemColor()
61 case NativeTheme::kColorId_FocusedMenuItemBackgroundColor: in CommonThemeGetSystemColor()
64 case NativeTheme::kColorId_HoverMenuItemBackgroundColor: in CommonThemeGetSystemColor()
67 case NativeTheme::kColorId_EnabledMenuItemForegroundColor: in CommonThemeGetSystemColor()
[all …]
Dcommon_theme.h18 NativeTheme::ColorId color_id,
22 NativeTheme::Part part,
23 NativeTheme::State state,
24 const NativeTheme::ExtraParams& extra);
29 const NativeTheme::MenuSeparatorExtraParams& extra);
39 NativeTheme::State state,
Dnative_theme.cc9 void NativeTheme::SetScrollbarColors(unsigned inactive_color, in SetScrollbarColors()
20 NativeTheme::NativeTheme() in NativeTheme() function in ui::NativeTheme
26 NativeTheme::~NativeTheme() {} in ~NativeTheme()
Dnative_theme.h38 class NATIVE_THEME_EXPORT NativeTheme {
290 static NativeTheme* instance();
293 NativeTheme();
294 virtual ~NativeTheme();
300 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
/external/chromium/webkit/glue/
Dwebthemeengine_impl_win.cc30 static gfx::NativeTheme::State WebButtonStateToGfx( in WebButtonStateToGfx()
33 gfx::NativeTheme::ButtonExtraParams* extra) { in WebButtonStateToGfx()
34 gfx::NativeTheme::State gfx_state = gfx::NativeTheme::kNormal; in WebButtonStateToGfx()
39 gfx_state = gfx::NativeTheme::kNormal; in WebButtonStateToGfx()
45 gfx_state = gfx::NativeTheme::kHovered; in WebButtonStateToGfx()
51 gfx_state = gfx::NativeTheme::kPressed; in WebButtonStateToGfx()
57 gfx_state = gfx::NativeTheme::kDisabled; in WebButtonStateToGfx()
63 gfx_state = gfx::NativeTheme::kNormal; in WebButtonStateToGfx()
69 gfx_state = gfx::NativeTheme::kNormal; in WebButtonStateToGfx()
80 gfx_state = gfx::NativeTheme::kNormal; in WebButtonStateToGfx()
[all …]
Dwebthemeengine_impl_linux.cc22 static gfx::NativeTheme::Part NativeThemePart( in NativeThemePart()
26 return gfx::NativeTheme::kScrollbarDownArrow; in NativeThemePart()
28 return gfx::NativeTheme::kScrollbarLeftArrow; in NativeThemePart()
30 return gfx::NativeTheme::kScrollbarRightArrow; in NativeThemePart()
32 return gfx::NativeTheme::kScrollbarUpArrow; in NativeThemePart()
34 return gfx::NativeTheme::kScrollbarHorizontalThumb; in NativeThemePart()
36 return gfx::NativeTheme::kScrollbarVerticalThumb; in NativeThemePart()
38 return gfx::NativeTheme::kScrollbarHorizontalTrack; in NativeThemePart()
40 return gfx::NativeTheme::kScrollbarVerticalTrack; in NativeThemePart()
42 return gfx::NativeTheme::kCheckbox; in NativeThemePart()
[all …]
/external/chromium_org/ui/views/
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/
Dmenu_config_win.cc22 using ui::NativeTheme;
27 void MenuConfig::Init(const NativeTheme* theme) { in Init()
48 NativeTheme::ExtraParams extra; in Init()
52 NativeTheme::kMenuCheck, NativeTheme::kNormal, extra); in Init()
63 NativeTheme::kMenuCheck, NativeTheme::kNormal, extra); in Init()
73 NativeTheme::kMenuPopupArrow, NativeTheme::kNormal, extra); in Init()
92 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) { in instance()
Dmenu_config.h13 class NativeTheme; variable
21 explicit MenuConfig(const ui::NativeTheme* theme);
24 static const MenuConfig& instance(const ui::NativeTheme* theme);
125 const ui::NativeTheme* native_theme;
136 void Init(const ui::NativeTheme* theme);
140 void InitAura(const ui::NativeTheme* theme);
Dmenu_separator_win.cc40 ui::NativeTheme::ExtraParams extra; in OnPaint()
42 canvas->sk_canvas(), ui::NativeTheme::kMenuPopupGutter, in OnPaint()
43 ui::NativeTheme::kNormal, gutter_bounds, extra); in OnPaint()
48 ui::NativeTheme::ExtraParams extra; in OnPaint()
51 canvas->sk_canvas(), ui::NativeTheme::kMenuPopupSeparator, in OnPaint()
52 ui::NativeTheme::kNormal, separator_bounds, extra); in OnPaint()
Dmenu_config_views.cc26 void MenuConfig::Init(const ui::NativeTheme* theme) { in Init()
32 void MenuConfig::InitAura(const ui::NativeTheme* theme) { in InitAura()
34 ui::NativeTheme::kColorId_EnabledMenuItemForegroundColor); in InitAura()
57 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) { in instance()
61 theme : ui::NativeTheme::instance()); in instance()
Dmenu_scroll_view_container.cc23 using ui::NativeTheme;
81 NativeTheme::ExtraParams extra; in OnPaint()
84 NativeTheme::kMenuItemBackground, in OnPaint()
85 NativeTheme::kNormal, item_bounds, extra); in OnPaint()
215 NativeTheme::ExtraParams extra; in OnPaintBackground()
219 NativeTheme::kMenuPopupBackground, NativeTheme::kNormal, bounds, extra); in OnPaintBackground()
304 ui::NativeTheme::kColorId_MenuBorderColor), in CreateDefaultBorder()
/external/chromium_org/ui/views/controls/button/
Dlabel_button_border.cc34 Button::ButtonState GetButtonState(ui::NativeTheme::State state) { in GetButtonState()
36 case ui::NativeTheme::kDisabled: return Button::STATE_DISABLED; in GetButtonState()
37 case ui::NativeTheme::kHovered: return Button::STATE_HOVERED; in GetButtonState()
38 case ui::NativeTheme::kNormal: return Button::STATE_NORMAL; in GetButtonState()
39 case ui::NativeTheme::kPressed: return Button::STATE_PRESSED; in GetButtonState()
40 case ui::NativeTheme::kMaxState: NOTREACHED() << "Unknown state: " << state; in GetButtonState()
48 const ui::NativeTheme* theme, in PaintHelper()
49 ui::NativeTheme::Part part, in PaintHelper()
50 ui::NativeTheme::State state, in PaintHelper()
52 const ui::NativeTheme::ExtraParams& extra) { in PaintHelper()
[all …]
Dlabel_button.cc282 void LabelButton::GetExtraParams(ui::NativeTheme::ExtraParams* params) const { in GetExtraParams()
293 const ui::NativeTheme* theme = GetNativeTheme(); in ResetColorsFromNativeTheme()
295 theme->GetSystemColor(ui::NativeTheme::kColorId_ButtonEnabledColor), in ResetColorsFromNativeTheme()
296 theme->GetSystemColor(ui::NativeTheme::kColorId_ButtonHoverColor), in ResetColorsFromNativeTheme()
297 theme->GetSystemColor(ui::NativeTheme::kColorId_ButtonHoverColor), in ResetColorsFromNativeTheme()
298 theme->GetSystemColor(ui::NativeTheme::kColorId_ButtonDisabledColor), in ResetColorsFromNativeTheme()
319 ui::NativeTheme::kColorId_ButtonBackgroundColor)); in ResetColorsFromNativeTheme()
355 void LabelButton::OnNativeThemeChanged(const ui::NativeTheme* theme) { in OnNativeThemeChanged()
359 ui::NativeTheme::Part LabelButton::GetThemePart() const { in GetThemePart()
360 return ui::NativeTheme::kPushButton; in GetThemePart()
[all …]
Dtext_button.cc171 const ui::NativeTheme* theme = view.GetNativeTheme(); in Paint()
173 ui::NativeTheme::Part part = delegate_->GetThemePart(); in Paint()
180 ui::NativeTheme::ExtraParams prev_extra; in Paint()
181 ui::NativeTheme::State prev_state = in Paint()
186 ui::NativeTheme::ExtraParams extra; in Paint()
187 ui::NativeTheme::State state = delegate_->GetForegroundThemeState(&extra); in Paint()
193 ui::NativeTheme::ExtraParams extra; in Paint()
194 ui::NativeTheme::State state = delegate_->GetThemeState(&extra); in Paint()
423 ui::NativeTheme::ExtraParams* params) const { in GetExtraParams()
432 ui::NativeTheme::kColorId_ButtonBackgroundColor); in GetExtraParams()
[all …]
Dlabel_button.h91 virtual void GetExtraParams(ui::NativeTheme::ExtraParams* params) const;
114 virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE;
117 virtual ui::NativeTheme::Part GetThemePart() const OVERRIDE;
118 virtual ui::NativeTheme::State GetThemeState(
119 ui::NativeTheme::ExtraParams* params) const OVERRIDE;
121 virtual ui::NativeTheme::State GetBackgroundThemeState(
122 ui::NativeTheme::ExtraParams* params) const OVERRIDE;
123 virtual ui::NativeTheme::State GetForegroundThemeState(
124 ui::NativeTheme::ExtraParams* params) const OVERRIDE;
Dtext_button.h185 virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE;
219 virtual ui::NativeTheme::State GetThemeState(
220 ui::NativeTheme::ExtraParams* params) const OVERRIDE;
222 virtual ui::NativeTheme::State GetBackgroundThemeState(
223 ui::NativeTheme::ExtraParams* params) const OVERRIDE;
224 virtual ui::NativeTheme::State GetForegroundThemeState(
225 ui::NativeTheme::ExtraParams* params) const OVERRIDE;
231 virtual void GetExtraParams(ui::NativeTheme::ExtraParams* params) const;
356 virtual ui::NativeTheme::Part GetThemePart() const OVERRIDE;
360 ui::NativeTheme::ExtraParams* params) const OVERRIDE;
/external/chromium_org/chrome/browser/chromeos/input_method/
Dinfolist_window_view.cc133 ui::NativeTheme::kColorId_TextfieldSelectionBackgroundFocused))); in Select()
136 ui::NativeTheme::kColorId_FocusedBorderColor))); in Select()
153 ui::NativeTheme::kColorId_WindowBackground); in UpdateLabelBackgroundColors()
174 ui::NativeTheme::kColorId_WindowBackground))); in Init()
177 ui::NativeTheme::kColorId_MenuBorderColor))); in Init()
189 ui::NativeTheme::kColorId_LabelEnabledColor)); in Init()
194 ui::NativeTheme::kColorId_WindowBackground), in Init()
/external/chromium_org/ash/system/tray/
Dtray_popup_label_button_border.cc70 ui::NativeTheme::ExtraParams extra; in Paint()
71 const ui::NativeTheme::State state = in Paint()
73 if (state == ui::NativeTheme::kNormal || in Paint()
74 state == ui::NativeTheme::kDisabled) { in Paint()

12345