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

1 2 3 4

  /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 19 void NativeTheme::SetScrollbarColors(unsigned inactive_color,
27 // NativeTheme::instance() is implemented in the platform specific source files,
31 NativeTheme::MenuVariation NativeTheme::GetMenuVariation() {
44 NativeTheme::NativeTheme()
50 NativeTheme::~NativeTheme() {}
common_theme.cc 42 bool CommonThemeGetSystemColor(NativeTheme::ColorId color_id, SkColor* color) {
45 case NativeTheme::kColorId_MenuBorderColor:
48 case NativeTheme::kColorId_EnabledMenuButtonBorderColor:
51 case NativeTheme::kColorId_FocusedMenuButtonBorderColor:
54 case NativeTheme::kColorId_HoverMenuButtonBorderColor:
57 case NativeTheme::kColorId_MenuSeparatorColor:
60 case NativeTheme::kColorId_MenuBackgroundColor:
63 case NativeTheme::kColorId_FocusedMenuItemBackgroundColor:
66 case NativeTheme::kColorId_HoverMenuItemBackgroundColor:
69 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,
46 SkColor AdjustColorForMenuVariations(NativeTheme::ColorId color_id,
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_config_views.cc 26 void MenuConfig::Init(const ui::NativeTheme* theme) {
31 void MenuConfig::InitAura(const ui::NativeTheme* theme) {
33 ui::NativeTheme::kColorId_EnabledMenuItemForegroundColor);
56 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) {
60 theme : ui::NativeTheme::instance());
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.cc 13 MenuConfig::MenuConfig(const ui::NativeTheme* theme)
64 switch (ui::NativeTheme::GetMenuVariation()) {
65 case ui::NativeTheme::MENU_VARIATION_COMPACT_1:
66 case ui::NativeTheme::MENU_VARIATION_CONTRAST:
74 case ui::NativeTheme::MENU_VARIATION_COMPACT_2:
  /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 74 virtual void GetExtraParams(ui::NativeTheme::ExtraParams* params) const;
86 // Resets colors from the NativeTheme, explicitly set colors are unchanged.
94 virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE;
97 virtual ui::NativeTheme::Part GetThemePart() const OVERRIDE;
99 virtual ui::NativeTheme::State GetThemeState(
100 ui::NativeTheme::ExtraParams* params) const OVERRIDE;
102 virtual ui::NativeTheme::State GetBackgroundThemeState(
103 ui::NativeTheme::ExtraParams* params) const OVERRIDE;
104 virtual ui::NativeTheme::State GetForegroundThemeState(
105 ui::NativeTheme::ExtraParams* params) const OVERRIDE
    [all...]
label_button_border.cc 30 Button::ButtonState GetButtonState(ui::NativeTheme::State state) {
32 case ui::NativeTheme::kDisabled: return Button::STATE_DISABLED;
33 case ui::NativeTheme::kHovered: return Button::STATE_HOVERED;
34 case ui::NativeTheme::kNormal: return Button::STATE_NORMAL;
35 case ui::NativeTheme::kPressed: return Button::STATE_PRESSED;
36 case ui::NativeTheme::kMaxState: NOTREACHED() << "Unknown state: " << state;
44 const ui::NativeTheme* theme,
45 ui::NativeTheme::Part part,
46 ui::NativeTheme::State state,
48 const ui::NativeTheme::ExtraParams& extra)
    [all...]
label_button.cc 250 void LabelButton::GetExtraParams(ui::NativeTheme::ExtraParams* params) const {
265 const ui::NativeTheme* theme = GetNativeTheme();
267 theme->GetSystemColor(ui::NativeTheme::kColorId_ButtonEnabledColor),
268 theme->GetSystemColor(ui::NativeTheme::kColorId_ButtonHoverColor),
269 theme->GetSystemColor(ui::NativeTheme::kColorId_ButtonHoverColor),
270 theme->GetSystemColor(ui::NativeTheme::kColorId_ButtonDisabledColor),
281 ui::NativeTheme::kColorId_ButtonBackgroundColor));
324 void LabelButton::OnNativeThemeChanged(const ui::NativeTheme* theme) {
328 ui::NativeTheme::Part LabelButton::GetThemePart() const {
329 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/linux_ui/
linux_ui.h 21 class NativeTheme;
53 // Returns a NativeTheme that will provide system colors and draw system
55 virtual NativeTheme* GetNativeTheme() const = 0;

Completed in 313 milliseconds

1 2 3 4