| 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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 enum ColorId { | 292 enum ColorId { |
| 293 // Windows | 293 // Windows |
| 294 kColorId_WindowBackground, | 294 kColorId_WindowBackground, |
| 295 // Dialogs | 295 // Dialogs |
| 296 kColorId_DialogBackground, | 296 kColorId_DialogBackground, |
| 297 kColorId_BubbleBackground, | 297 kColorId_BubbleBackground, |
| 298 // FocusableBorder | 298 // FocusableBorder |
| 299 kColorId_FocusedBorderColor, | 299 kColorId_FocusedBorderColor, |
| 300 kColorId_UnfocusedBorderColor, | 300 kColorId_UnfocusedBorderColor, |
| 301 // Button | 301 // Button |
| 302 kColorId_ButtonEnabledColor, | 302 kColorId_TextOnEnabledDialogButton, |
| 303 kColorId_ButtonDisabledColor, | 303 kColorId_TextOnDisabledDialogButton, |
| 304 kColorId_ButtonHoverColor, | 304 kColorId_ButtonHoverColor, |
| 305 kColorId_ButtonPressedShade, | 305 kColorId_ButtonPressedShade, |
| 306 kColorId_BlueButtonEnabledColor, | 306 kColorId_BlueButtonEnabledColor, |
| 307 kColorId_BlueButtonDisabledColor, | 307 kColorId_BlueButtonDisabledColor, |
| 308 kColorId_BlueButtonPressedColor, | 308 kColorId_BlueButtonPressedColor, |
| 309 kColorId_BlueButtonHoverColor, | 309 kColorId_BlueButtonHoverColor, |
| 310 kColorId_BlueButtonShadowColor, | 310 kColorId_BlueButtonShadowColor, |
| 311 kColorId_ProminentButtonColor, | 311 kColorId_ProminentButtonColor, |
| 312 kColorId_TextOnProminentButtonColor, | 312 kColorId_TextOnProminentDialogButton, |
| 313 // MenuItem | 313 // MenuItem |
| 314 kColorId_EnabledMenuItemForegroundColor, | 314 kColorId_EnabledMenuItemForegroundColor, |
| 315 kColorId_DisabledMenuItemForegroundColor, | 315 kColorId_DisabledMenuItemForegroundColor, |
| 316 kColorId_SelectedMenuItemForegroundColor, | 316 kColorId_SelectedMenuItemForegroundColor, |
| 317 kColorId_FocusedMenuItemBackgroundColor, | 317 kColorId_FocusedMenuItemBackgroundColor, |
| 318 kColorId_MenuItemSubtitleColor, | 318 kColorId_MenuItemSubtitleColor, |
| 319 kColorId_MenuSeparatorColor, | 319 kColorId_MenuSeparatorColor, |
| 320 kColorId_MenuBackgroundColor, | 320 kColorId_MenuBackgroundColor, |
| 321 kColorId_MenuBorderColor, | 321 kColorId_MenuBorderColor, |
| 322 // Label | 322 // Label |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 private: | 427 private: |
| 428 // Observers to notify when the native theme changes. | 428 // Observers to notify when the native theme changes. |
| 429 base::ObserverList<NativeThemeObserver> native_theme_observers_; | 429 base::ObserverList<NativeThemeObserver> native_theme_observers_; |
| 430 | 430 |
| 431 DISALLOW_COPY_AND_ASSIGN(NativeTheme); | 431 DISALLOW_COPY_AND_ASSIGN(NativeTheme); |
| 432 }; | 432 }; |
| 433 | 433 |
| 434 } // namespace ui | 434 } // namespace ui |
| 435 | 435 |
| 436 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ | 436 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ |
| OLD | NEW |