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_GFX_NATIVE_THEME_BASE_H_ | 5 #ifndef UI_GFX_NATIVE_THEME_BASE_H_ |
6 #define UI_GFX_NATIVE_THEME_BASE_H_ | 6 #define UI_GFX_NATIVE_THEME_BASE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "skia/ext/platform_canvas.h" | 10 #include "skia/ext/platform_canvas.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 State state, | 75 State state, |
76 const gfx::Rect& rect, | 76 const gfx::Rect& rect, |
77 const TextFieldExtraParams& text) const; | 77 const TextFieldExtraParams& text) const; |
78 | 78 |
79 virtual void PaintMenuList( | 79 virtual void PaintMenuList( |
80 SkCanvas* canvas, | 80 SkCanvas* canvas, |
81 State state, | 81 State state, |
82 const gfx::Rect& rect, | 82 const gfx::Rect& rect, |
83 const MenuListExtraParams& menu_list) const; | 83 const MenuListExtraParams& menu_list) const; |
84 | 84 |
85 virtual void PaintMenuPopupBackground( | 85 virtual void PaintMenuPopupBackground(SkCanvas* canvas, |
86 SkCanvas* canvas, | 86 const gfx::Size& size) const; |
87 State state, | |
88 const gfx::Rect& rect, | |
89 const MenuListExtraParams& menu_list) const; | |
90 | 87 |
91 virtual void PaintMenuItemBackground( | 88 virtual void PaintMenuItemBackground( |
92 SkCanvas* canvas, | 89 SkCanvas* canvas, |
93 State state, | 90 State state, |
94 const gfx::Rect& rect, | 91 const gfx::Rect& rect, |
95 const MenuListExtraParams& menu_list) const; | 92 const MenuListExtraParams& menu_list) const; |
96 | 93 |
97 virtual void PaintSliderTrack( | 94 virtual void PaintSliderTrack( |
98 SkCanvas* canvas, | 95 SkCanvas* canvas, |
99 State state, | 96 State state, |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 | 154 |
158 static unsigned int scrollbar_width_; | 155 static unsigned int scrollbar_width_; |
159 static unsigned int button_length_; | 156 static unsigned int button_length_; |
160 | 157 |
161 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); | 158 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); |
162 }; | 159 }; |
163 | 160 |
164 } // namespace gfx | 161 } // namespace gfx |
165 | 162 |
166 #endif // UI_GFX_NATIVE_THEME_BASE_H_ | 163 #endif // UI_GFX_NATIVE_THEME_BASE_H_ |
OLD | NEW |