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_H_ | 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_H_ |
6 #define UI_NATIVE_THEME_NATIVE_THEME_H_ | 6 #define UI_NATIVE_THEME_NATIVE_THEME_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/observer_list.h" | 9 #include "base/observer_list.h" |
| 10 #include "build/build_config.h" |
9 #include "third_party/skia/include/core/SkColor.h" | 11 #include "third_party/skia/include/core/SkColor.h" |
10 #include "ui/gfx/native_widget_types.h" | 12 #include "ui/gfx/native_widget_types.h" |
11 #include "ui/native_theme/native_theme_export.h" | 13 #include "ui/native_theme/native_theme_export.h" |
12 | 14 |
13 class SkCanvas; | 15 class SkCanvas; |
14 | 16 |
15 namespace gfx { | 17 namespace gfx { |
16 class Rect; | 18 class Rect; |
17 class Size; | 19 class Size; |
18 } | 20 } |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 private: | 374 private: |
373 // Observers to notify when the native theme changes. | 375 // Observers to notify when the native theme changes. |
374 base::ObserverList<NativeThemeObserver> native_theme_observers_; | 376 base::ObserverList<NativeThemeObserver> native_theme_observers_; |
375 | 377 |
376 DISALLOW_COPY_AND_ASSIGN(NativeTheme); | 378 DISALLOW_COPY_AND_ASSIGN(NativeTheme); |
377 }; | 379 }; |
378 | 380 |
379 } // namespace ui | 381 } // namespace ui |
380 | 382 |
381 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ | 383 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ |
OLD | NEW |