OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ | 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ |
6 #define UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ | 6 #define UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 SkCanvas* canvas, | 97 SkCanvas* canvas, |
98 const gfx::Size& size, | 98 const gfx::Size& size, |
99 const MenuBackgroundExtraParams& menu_background) const; | 99 const MenuBackgroundExtraParams& menu_background) const; |
100 | 100 |
101 virtual void PaintMenuItemBackground( | 101 virtual void PaintMenuItemBackground( |
102 SkCanvas* canvas, | 102 SkCanvas* canvas, |
103 State state, | 103 State state, |
104 const gfx::Rect& rect, | 104 const gfx::Rect& rect, |
105 const MenuItemExtraParams& menu_item) const; | 105 const MenuItemExtraParams& menu_item) const; |
106 | 106 |
| 107 virtual void PaintMenuSeparator( |
| 108 SkCanvas* canvas, |
| 109 State state, |
| 110 const gfx::Rect& rect, |
| 111 const MenuSeparatorExtraParams& menu_separator) const; |
| 112 |
107 virtual void PaintSliderTrack( | 113 virtual void PaintSliderTrack( |
108 SkCanvas* canvas, | 114 SkCanvas* canvas, |
109 State state, | 115 State state, |
110 const gfx::Rect& rect, | 116 const gfx::Rect& rect, |
111 const SliderExtraParams& slider) const; | 117 const SliderExtraParams& slider) const; |
112 | 118 |
113 virtual void PaintSliderThumb( | 119 virtual void PaintSliderThumb( |
114 SkCanvas* canvas, | 120 SkCanvas* canvas, |
115 State state, | 121 State state, |
116 const gfx::Rect& rect, | 122 const gfx::Rect& rect, |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 | 201 |
196 // The length of the arrow buttons, 0 means no buttons are drawn. | 202 // The length of the arrow buttons, 0 means no buttons are drawn. |
197 int scrollbar_button_length_; | 203 int scrollbar_button_length_; |
198 | 204 |
199 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); | 205 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); |
200 }; | 206 }; |
201 | 207 |
202 } // namespace ui | 208 } // namespace ui |
203 | 209 |
204 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ | 210 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ |
OLD | NEW |