| 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 "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 State state, | 54 State state, |
| 55 const ScrollbarTrackExtraParams& extra_params, | 55 const ScrollbarTrackExtraParams& extra_params, |
| 56 const gfx::Rect& rect) const; | 56 const gfx::Rect& rect) const; |
| 57 // Draw the scrollbar thumb over the track. | 57 // Draw the scrollbar thumb over the track. |
| 58 virtual void PaintScrollbarThumb( | 58 virtual void PaintScrollbarThumb( |
| 59 SkCanvas* canvas, | 59 SkCanvas* canvas, |
| 60 Part part, | 60 Part part, |
| 61 State state, | 61 State state, |
| 62 const gfx::Rect& rect) const; | 62 const gfx::Rect& rect) const; |
| 63 | 63 |
| 64 virtual void PaintScrollbarCorner(SkCanvas* canvas, |
| 65 State state, |
| 66 const gfx::Rect& rect) const; |
| 67 |
| 64 virtual void PaintCheckbox( | 68 virtual void PaintCheckbox( |
| 65 SkCanvas* canvas, | 69 SkCanvas* canvas, |
| 66 State state, | 70 State state, |
| 67 const gfx::Rect& rect, | 71 const gfx::Rect& rect, |
| 68 const ButtonExtraParams& button) const; | 72 const ButtonExtraParams& button) const; |
| 69 | 73 |
| 70 virtual void PaintRadio( | 74 virtual void PaintRadio( |
| 71 SkCanvas* canvas, | 75 SkCanvas* canvas, |
| 72 State state, | 76 State state, |
| 73 const gfx::Rect& rect, | 77 const gfx::Rect& rect, |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 | 189 |
| 186 unsigned int scrollbar_width_; | 190 unsigned int scrollbar_width_; |
| 187 unsigned int scrollbar_button_length_; | 191 unsigned int scrollbar_button_length_; |
| 188 | 192 |
| 189 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); | 193 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); |
| 190 }; | 194 }; |
| 191 | 195 |
| 192 } // namespace ui | 196 } // namespace ui |
| 193 | 197 |
| 194 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ | 198 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ |
| OLD | NEW |