Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: ui/native_theme/native_theme.h

Issue 2319313003: views: refactor away PlatformStyle::BackgroundColorForMdButton (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 // FocusableBorder 252 // FocusableBorder
253 kColorId_FocusedBorderColor, 253 kColorId_FocusedBorderColor,
254 kColorId_UnfocusedBorderColor, 254 kColorId_UnfocusedBorderColor,
255 // Button 255 // Button
256 kColorId_ButtonBackgroundColor, 256 kColorId_ButtonBackgroundColor,
257 kColorId_ButtonEnabledColor, 257 kColorId_ButtonEnabledColor,
258 kColorId_ButtonDisabledColor, 258 kColorId_ButtonDisabledColor,
259 kColorId_ButtonHighlightColor, 259 kColorId_ButtonHighlightColor,
260 kColorId_ButtonHoverColor, 260 kColorId_ButtonHoverColor,
261 kColorId_ButtonHoverBackgroundColor, 261 kColorId_ButtonHoverBackgroundColor,
262 kColorId_ButtonPressedShade,
262 kColorId_BlueButtonEnabledColor, 263 kColorId_BlueButtonEnabledColor,
263 kColorId_BlueButtonDisabledColor, 264 kColorId_BlueButtonDisabledColor,
264 kColorId_BlueButtonPressedColor, 265 kColorId_BlueButtonPressedColor,
265 kColorId_BlueButtonHoverColor, 266 kColorId_BlueButtonHoverColor,
266 kColorId_BlueButtonShadowColor, 267 kColorId_BlueButtonShadowColor,
267 kColorId_CallToActionColor, 268 kColorId_CallToActionColor,
268 kColorId_TextOnCallToActionColor, 269 kColorId_TextOnCallToActionColor,
269 // MenuItem 270 // MenuItem
270 kColorId_EnabledMenuItemForegroundColor, 271 kColorId_EnabledMenuItemForegroundColor,
271 kColorId_DisabledMenuItemForegroundColor, 272 kColorId_DisabledMenuItemForegroundColor,
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 private: 380 private:
380 // Observers to notify when the native theme changes. 381 // Observers to notify when the native theme changes.
381 base::ObserverList<NativeThemeObserver> native_theme_observers_; 382 base::ObserverList<NativeThemeObserver> native_theme_observers_;
382 383
383 DISALLOW_COPY_AND_ASSIGN(NativeTheme); 384 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
384 }; 385 };
385 386
386 } // namespace ui 387 } // namespace ui
387 388
388 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ 389 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698