| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 Part part, | 53 Part part, |
| 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 cc::PaintCanvas* canvas, | 59 cc::PaintCanvas* canvas, |
| 60 Part part, | 60 Part part, |
| 61 State state, | 61 State state, |
| 62 const gfx::Rect& rect, | 62 const gfx::Rect& rect, |
| 63 NativeTheme::ScrollbarOverlayColorTheme theme) const; | 63 const NativeTheme::ScrollbarThumbExtraParams& params) const; |
| 64 | 64 |
| 65 virtual void PaintScrollbarCorner(cc::PaintCanvas* canvas, | 65 virtual void PaintScrollbarCorner(cc::PaintCanvas* canvas, |
| 66 State state, | 66 State state, |
| 67 const gfx::Rect& rect) const; | 67 const gfx::Rect& rect) const; |
| 68 | 68 |
| 69 virtual void PaintCheckbox(cc::PaintCanvas* canvas, | 69 virtual void PaintCheckbox(cc::PaintCanvas* canvas, |
| 70 State state, | 70 State state, |
| 71 const gfx::Rect& rect, | 71 const gfx::Rect& rect, |
| 72 const ButtonExtraParams& button) const; | 72 const ButtonExtraParams& button) const; |
| 73 | 73 |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 | 196 |
| 197 // The length of the arrow buttons, 0 means no buttons are drawn. | 197 // The length of the arrow buttons, 0 means no buttons are drawn. |
| 198 int scrollbar_button_length_; | 198 int scrollbar_button_length_; |
| 199 | 199 |
| 200 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); | 200 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); |
| 201 }; | 201 }; |
| 202 | 202 |
| 203 } // namespace ui | 203 } // namespace ui |
| 204 | 204 |
| 205 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ | 205 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ |
| OLD | NEW |