HomeSort by relevance Sort by last modified time
    Searched refs:NativeTheme (Results 1 - 25 of 101) sorted by null

1 2 3 4 5

  /external/chromium_org/ui/views/
native_theme_delegate.h 26 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/native_theme/
native_theme.cc 9 void NativeTheme::SetScrollbarColors(unsigned inactive_color,
17 // NativeTheme::instance() is implemented in the platform specific source files,
20 NativeTheme::NativeTheme()
26 NativeTheme::~NativeTheme() {}
common_theme.cc 40 bool CommonThemeGetSystemColor(NativeTheme::ColorId color_id, SkColor* color) {
43 case NativeTheme::kColorId_MenuBorderColor:
46 case NativeTheme::kColorId_EnabledMenuButtonBorderColor:
49 case NativeTheme::kColorId_FocusedMenuButtonBorderColor:
52 case NativeTheme::kColorId_HoverMenuButtonBorderColor:
55 case NativeTheme::kColorId_MenuSeparatorColor:
58 case NativeTheme::kColorId_MenuBackgroundColor:
61 case NativeTheme::kColorId_FocusedMenuItemBackgroundColor:
64 case NativeTheme::kColorId_HoverMenuItemBackgroundColor:
67 case NativeTheme::kColorId_EnabledMenuItemForegroundColor
    [all...]
common_theme.h 18 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,
native_theme_android.cc 13 NativeTheme* NativeTheme::instance() {
  /external/chromium_org/webkit/child/
webthemeengine_impl_win.cc 7 #include <vsstyle.h> // To convert to ui::NativeTheme::State
32 static ui::NativeTheme::State WebButtonStateToGfx(
33 int part, int state, ui::NativeTheme::ButtonExtraParams* extra) {
34 ui::NativeTheme::State gfx_state = ui::NativeTheme::kNormal;
38 extra->background_color = ui::NativeTheme::instance()->GetSystemColor(
39 ui::NativeTheme::kColorId_ButtonBackgroundColor);
44 gfx_state = ui::NativeTheme::kNormal;
50 gfx_state = ui::NativeTheme::kHovered;
56 gfx_state = ui::NativeTheme::kPressed
    [all...]
webthemeengine_impl_android.cc 20 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;
34 return static_cast<ui::NativeTheme::Part>(0);
38 return static_cast<ui::NativeTheme::Part>(0);
42 return static_cast<ui::NativeTheme::Part>(0);
46 return static_cast<ui::NativeTheme::Part>(0);
48 return ui::NativeTheme::kCheckbox
    [all...]
webthemeengine_impl_default.cc 19 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::kCheckbox
    [all...]
webfallbackthemeengine_impl.cc 19 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::kCheckbox
    [all...]
  /external/chromium_org/ui/views/controls/scrollbar/
native_scroll_bar_wrapper.h 11 class NativeTheme;
39 static int GetVerticalScrollBarWidth(const ui::NativeTheme* theme);
40 static int GetHorizontalScrollBarHeight(const ui::NativeTheme* theme);
native_scroll_bar_views.cc 44 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::kScrollbarUpArrow
    [all...]
native_scroll_bar.h 16 class NativeTheme;
35 static int GetHorizontalScrollBarHeight(const ui::NativeTheme* theme);
36 static int GetVerticalScrollBarWidth(const ui::NativeTheme* theme);
native_scroll_bar_views.h 71 ui::NativeTheme::ExtraParams params_;
72 ui::NativeTheme::Part part_;
73 ui::NativeTheme::State state_;
  /external/chromium_org/ui/views/controls/menu/
menu_config.h 13 class NativeTheme;
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);
menu_separator_win.cc 40 ui::NativeTheme::ExtraParams extra;
42 canvas->sk_canvas(), ui::NativeTheme::kMenuPopupGutter,
43 ui::NativeTheme::kNormal, gutter_bounds, extra);
48 ui::NativeTheme::ExtraParams extra;
51 canvas->sk_canvas(), ui::NativeTheme::kMenuPopupSeparator,
52 ui::NativeTheme::kNormal, separator_bounds, extra);
menu_config_win.cc 22 using ui::NativeTheme;
27 void MenuConfig::Init(const NativeTheme* theme) {
48 NativeTheme::ExtraParams extra;
52 NativeTheme::kMenuCheck, NativeTheme::kNormal, extra);
63 NativeTheme::kMenuCheck, NativeTheme::kNormal, extra);
73 NativeTheme::kMenuPopupArrow, NativeTheme::kNormal, extra);
92 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme)
    [all...]
menu_config_views.cc 26 void MenuConfig::Init(const ui::NativeTheme* theme) {
32 void MenuConfig::InitAura(const ui::NativeTheme* theme) {
34 ui::NativeTheme::kColorId_EnabledMenuItemForegroundColor);
57 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) {
61 theme : ui::NativeTheme::instance());
  /external/chromium/webkit/glue/
webthemeengine_impl_linux.cc 22 static gfx::NativeTheme::Part NativeThemePart(
26 return gfx::NativeTheme::kScrollbarDownArrow;
28 return gfx::NativeTheme::kScrollbarLeftArrow;
30 return gfx::NativeTheme::kScrollbarRightArrow;
32 return gfx::NativeTheme::kScrollbarUpArrow;
34 return gfx::NativeTheme::kScrollbarHorizontalThumb;
36 return gfx::NativeTheme::kScrollbarVerticalThumb;
38 return gfx::NativeTheme::kScrollbarHorizontalTrack;
40 return gfx::NativeTheme::kScrollbarVerticalTrack;
42 return gfx::NativeTheme::kCheckbox
    [all...]
webthemeengine_impl_win.cc 7 #include <vsstyle.h> // To convert to gfx::NativeTheme::State
30 static gfx::NativeTheme::State WebButtonStateToGfx(
33 gfx::NativeTheme::ButtonExtraParams* extra) {
34 gfx::NativeTheme::State gfx_state = gfx::NativeTheme::kNormal;
39 gfx_state = gfx::NativeTheme::kNormal;
45 gfx_state = gfx::NativeTheme::kHovered;
51 gfx_state = gfx::NativeTheme::kPressed;
57 gfx_state = gfx::NativeTheme::kDisabled;
63 gfx_state = gfx::NativeTheme::kNormal
    [all...]
  /external/chromium_org/ui/views/controls/button/
label_button.h 91 virtual void GetExtraParams(ui::NativeTheme::ExtraParams* params) const;
93 // Resets colors from the NativeTheme, explicitly set colors are unchanged.
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
    [all...]
label_button_border.cc 34 Button::ButtonState GetButtonState(ui::NativeTheme::State state) {
36 case ui::NativeTheme::kDisabled: return Button::STATE_DISABLED;
37 case ui::NativeTheme::kHovered: return Button::STATE_HOVERED;
38 case ui::NativeTheme::kNormal: return Button::STATE_NORMAL;
39 case ui::NativeTheme::kPressed: return Button::STATE_PRESSED;
40 case ui::NativeTheme::kMaxState: NOTREACHED() << "Unknown state: " << state;
48 const ui::NativeTheme* theme,
49 ui::NativeTheme::Part part,
50 ui::NativeTheme::State state,
52 const ui::NativeTheme::ExtraParams& extra)
    [all...]
label_button.cc 282 void LabelButton::GetExtraParams(ui::NativeTheme::ExtraParams* params) const {
293 const ui::NativeTheme* theme = GetNativeTheme();
295 theme->GetSystemColor(ui::NativeTheme::kColorId_ButtonEnabledColor),
296 theme->GetSystemColor(ui::NativeTheme::kColorId_ButtonHoverColor),
297 theme->GetSystemColor(ui::NativeTheme::kColorId_ButtonHoverColor),
298 theme->GetSystemColor(ui::NativeTheme::kColorId_ButtonDisabledColor),
319 ui::NativeTheme::kColorId_ButtonBackgroundColor));
355 void LabelButton::OnNativeThemeChanged(const ui::NativeTheme* theme) {
359 ui::NativeTheme::Part LabelButton::GetThemePart() const {
360 return ui::NativeTheme::kPushButton
    [all...]
checkbox.h 53 virtual ui::NativeTheme::Part GetThemePart() const OVERRIDE;
55 ui::NativeTheme::ExtraParams* params) const OVERRIDE;
  /external/chromium_org/ui/views/linux_ui/
linux_ui.h 22 class NativeTheme;
68 // Returns a NativeTheme that will provide system colors and draw system
70 virtual ui::NativeTheme* GetNativeTheme() const = 0;
  /external/chromium_org/ash/system/tray/
tray_popup_label_button_border.cc 70 ui::NativeTheme::ExtraParams extra;
71 const ui::NativeTheme::State state =
73 if (state == ui::NativeTheme::kNormal ||
74 state == ui::NativeTheme::kDisabled) {

Completed in 109 milliseconds

1 2 3 4 5