| 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" |
| 11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "skia/ext/platform_canvas.h" | 13 #include "skia/ext/platform_canvas.h" |
| 14 #include "ui/native_theme/native_theme.h" | 14 #include "ui/native_theme/native_theme.h" |
| 15 | 15 |
| 16 namespace gfx { | 16 namespace gfx { |
| 17 class Canvas; | |
| 18 class ImageSkia; | |
| 19 class Rect; | 17 class Rect; |
| 20 class Size; | 18 class Size; |
| 21 } | 19 } |
| 22 | 20 |
| 23 namespace ui { | 21 namespace ui { |
| 24 | 22 |
| 25 // Theme support for non-Windows toolkits. | 23 // Theme support for non-Windows toolkits. |
| 26 class NATIVE_THEME_EXPORT NativeThemeBase : public NativeTheme { | 24 class NATIVE_THEME_EXPORT NativeThemeBase : public NativeTheme { |
| 27 public: | 25 public: |
| 28 // NativeTheme implementation: | 26 // NativeTheme implementation: |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 | 189 |
| 192 // The length of the arrow buttons, 0 means no buttons are drawn. | 190 // The length of the arrow buttons, 0 means no buttons are drawn. |
| 193 int scrollbar_button_length_; | 191 int scrollbar_button_length_; |
| 194 | 192 |
| 195 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); | 193 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); |
| 196 }; | 194 }; |
| 197 | 195 |
| 198 } // namespace ui | 196 } // namespace ui |
| 199 | 197 |
| 200 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ | 198 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ |
| OLD | NEW |