| 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/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 101 |
| 102 virtual void PaintMenuPopupBackground( | 102 virtual void PaintMenuPopupBackground( |
| 103 SkCanvas* canvas, | 103 SkCanvas* canvas, |
| 104 const gfx::Size& size, | 104 const gfx::Size& size, |
| 105 const MenuBackgroundExtraParams& menu_background) const; | 105 const MenuBackgroundExtraParams& menu_background) const; |
| 106 | 106 |
| 107 virtual void PaintMenuItemBackground( | 107 virtual void PaintMenuItemBackground( |
| 108 SkCanvas* canvas, | 108 SkCanvas* canvas, |
| 109 State state, | 109 State state, |
| 110 const gfx::Rect& rect, | 110 const gfx::Rect& rect, |
| 111 const MenuListExtraParams& menu_list) const; | 111 const MenuItemExtraParams& menu_item) const; |
| 112 | 112 |
| 113 virtual void PaintSliderTrack( | 113 virtual void PaintSliderTrack( |
| 114 SkCanvas* canvas, | 114 SkCanvas* canvas, |
| 115 State state, | 115 State state, |
| 116 const gfx::Rect& rect, | 116 const gfx::Rect& rect, |
| 117 const SliderExtraParams& slider) const; | 117 const SliderExtraParams& slider) const; |
| 118 | 118 |
| 119 virtual void PaintSliderThumb( | 119 virtual void PaintSliderThumb( |
| 120 SkCanvas* canvas, | 120 SkCanvas* canvas, |
| 121 State state, | 121 State state, |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 | 208 |
| 209 // The length of the arrow buttons, 0 means no buttons are drawn. | 209 // The length of the arrow buttons, 0 means no buttons are drawn. |
| 210 unsigned int scrollbar_button_length_; | 210 unsigned int scrollbar_button_length_; |
| 211 | 211 |
| 212 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); | 212 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); |
| 213 }; | 213 }; |
| 214 | 214 |
| 215 } // namespace ui | 215 } // namespace ui |
| 216 | 216 |
| 217 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ | 217 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ |
| OLD | NEW |