| 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/macros.h" |
| 9 #include "base/observer_list.h" | 9 #include "base/observer_list.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 int classic_state; // Used on Windows when uxtheme is not available. | 192 int classic_state; // Used on Windows when uxtheme is not available. |
| 193 }; | 193 }; |
| 194 | 194 |
| 195 struct TrackbarExtraParams { | 195 struct TrackbarExtraParams { |
| 196 bool vertical; | 196 bool vertical; |
| 197 int classic_state; // Used on Windows when uxtheme is not available. | 197 int classic_state; // Used on Windows when uxtheme is not available. |
| 198 }; | 198 }; |
| 199 | 199 |
| 200 union NATIVE_THEME_EXPORT ExtraParams { | 200 union NATIVE_THEME_EXPORT ExtraParams { |
| 201 ExtraParams(); | 201 ExtraParams(); |
| 202 ExtraParams(const ExtraParams& other); |
| 202 | 203 |
| 203 ButtonExtraParams button; | 204 ButtonExtraParams button; |
| 204 InnerSpinButtonExtraParams inner_spin; | 205 InnerSpinButtonExtraParams inner_spin; |
| 205 MenuArrowExtraParams menu_arrow; | 206 MenuArrowExtraParams menu_arrow; |
| 206 MenuCheckExtraParams menu_check; | 207 MenuCheckExtraParams menu_check; |
| 207 MenuItemExtraParams menu_item; | 208 MenuItemExtraParams menu_item; |
| 208 MenuListExtraParams menu_list; | 209 MenuListExtraParams menu_list; |
| 209 MenuBackgroundExtraParams menu_background; | 210 MenuBackgroundExtraParams menu_background; |
| 210 ProgressBarExtraParams progress_bar; | 211 ProgressBarExtraParams progress_bar; |
| 211 ScrollbarArrowExtraParams scrollbar_arrow; | 212 ScrollbarArrowExtraParams scrollbar_arrow; |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 private: | 379 private: |
| 379 // Observers to notify when the native theme changes. | 380 // Observers to notify when the native theme changes. |
| 380 base::ObserverList<NativeThemeObserver> native_theme_observers_; | 381 base::ObserverList<NativeThemeObserver> native_theme_observers_; |
| 381 | 382 |
| 382 DISALLOW_COPY_AND_ASSIGN(NativeTheme); | 383 DISALLOW_COPY_AND_ASSIGN(NativeTheme); |
| 383 }; | 384 }; |
| 384 | 385 |
| 385 } // namespace ui | 386 } // namespace ui |
| 386 | 387 |
| 387 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ | 388 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ |
| OLD | NEW |