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> |
| 9 |
8 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | |
11 #include "skia/ext/platform_canvas.h" | 12 #include "skia/ext/platform_canvas.h" |
12 #include "ui/native_theme/native_theme.h" | 13 #include "ui/native_theme/native_theme.h" |
13 | 14 |
14 namespace gfx { | 15 namespace gfx { |
15 class Canvas; | 16 class Canvas; |
16 class ImageSkia; | 17 class ImageSkia; |
17 class Rect; | 18 class Rect; |
18 class Size; | 19 class Size; |
19 } | 20 } |
20 | 21 |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 | 209 |
209 // The length of the arrow buttons, 0 means no buttons are drawn. | 210 // The length of the arrow buttons, 0 means no buttons are drawn. |
210 unsigned int scrollbar_button_length_; | 211 unsigned int scrollbar_button_length_; |
211 | 212 |
212 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); | 213 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); |
213 }; | 214 }; |
214 | 215 |
215 } // namespace ui | 216 } // namespace ui |
216 | 217 |
217 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ | 218 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ |
OLD | NEW |