| 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/observer_list.h" | 8 #include "base/observer_list.h" |
| 9 #include "third_party/skia/include/core/SkColor.h" | 9 #include "third_party/skia/include/core/SkColor.h" |
| 10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 protected: | 353 protected: |
| 354 NativeTheme(); | 354 NativeTheme(); |
| 355 virtual ~NativeTheme(); | 355 virtual ~NativeTheme(); |
| 356 | 356 |
| 357 unsigned int thumb_inactive_color_; | 357 unsigned int thumb_inactive_color_; |
| 358 unsigned int thumb_active_color_; | 358 unsigned int thumb_active_color_; |
| 359 unsigned int track_color_; | 359 unsigned int track_color_; |
| 360 | 360 |
| 361 private: | 361 private: |
| 362 // Observers to notify when the native theme changes. | 362 // Observers to notify when the native theme changes. |
| 363 ObserverList<NativeThemeObserver> native_theme_observers_; | 363 base::ObserverList<NativeThemeObserver> native_theme_observers_; |
| 364 | 364 |
| 365 DISALLOW_COPY_AND_ASSIGN(NativeTheme); | 365 DISALLOW_COPY_AND_ASSIGN(NativeTheme); |
| 366 }; | 366 }; |
| 367 | 367 |
| 368 } // namespace ui | 368 } // namespace ui |
| 369 | 369 |
| 370 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ | 370 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ |
| OLD | NEW |