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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 | 193 |
194 // Paint the common parts of the checkboxes and radio buttons. | 194 // Paint the common parts of the checkboxes and radio buttons. |
195 // borderRadius specifies how rounded the corners should be. | 195 // borderRadius specifies how rounded the corners should be. |
196 SkRect PaintCheckboxRadioCommon( | 196 SkRect PaintCheckboxRadioCommon( |
197 SkCanvas* canvas, | 197 SkCanvas* canvas, |
198 State state, | 198 State state, |
199 const gfx::Rect& rect, | 199 const gfx::Rect& rect, |
200 const SkScalar borderRadius) const; | 200 const SkScalar borderRadius) const; |
201 | 201 |
202 unsigned int scrollbar_width_; | 202 unsigned int scrollbar_width_; |
| 203 |
| 204 // The length of the arrow buttons, 0 means no buttons are drawn. |
203 unsigned int scrollbar_button_length_; | 205 unsigned int scrollbar_button_length_; |
204 | 206 |
205 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); | 207 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); |
206 }; | 208 }; |
207 | 209 |
208 } // namespace ui | 210 } // namespace ui |
209 | 211 |
210 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ | 212 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ |
OLD | NEW |