| 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 "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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 State state, | 79 State state, |
| 80 const gfx::Rect& rect, | 80 const gfx::Rect& rect, |
| 81 const TextFieldExtraParams& text) const; | 81 const TextFieldExtraParams& text) const; |
| 82 | 82 |
| 83 virtual void PaintMenuList( | 83 virtual void PaintMenuList( |
| 84 SkCanvas* canvas, | 84 SkCanvas* canvas, |
| 85 State state, | 85 State state, |
| 86 const gfx::Rect& rect, | 86 const gfx::Rect& rect, |
| 87 const MenuListExtraParams& menu_list) const; | 87 const MenuListExtraParams& menu_list) const; |
| 88 | 88 |
| 89 virtual void PaintMenuPopupBackground(SkCanvas* canvas, | 89 virtual void PaintMenuPopupBackground( |
| 90 const gfx::Size& size) const; | 90 SkCanvas* canvas, |
| 91 const gfx::Size& size, |
| 92 const MenuBackgroundExtraParams& menu_background) const; |
| 91 | 93 |
| 92 virtual void PaintMenuItemBackground( | 94 virtual void PaintMenuItemBackground( |
| 93 SkCanvas* canvas, | 95 SkCanvas* canvas, |
| 94 State state, | 96 State state, |
| 95 const gfx::Rect& rect, | 97 const gfx::Rect& rect, |
| 96 const MenuListExtraParams& menu_list) const; | 98 const MenuListExtraParams& menu_list) const; |
| 97 | 99 |
| 98 virtual void PaintSliderTrack( | 100 virtual void PaintSliderTrack( |
| 99 SkCanvas* canvas, | 101 SkCanvas* canvas, |
| 100 State state, | 102 State state, |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 192 |
| 191 unsigned int scrollbar_width_; | 193 unsigned int scrollbar_width_; |
| 192 unsigned int scrollbar_button_length_; | 194 unsigned int scrollbar_button_length_; |
| 193 | 195 |
| 194 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); | 196 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); |
| 195 }; | 197 }; |
| 196 | 198 |
| 197 } // namespace ui | 199 } // namespace ui |
| 198 | 200 |
| 199 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ | 201 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ |
| OLD | NEW |