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

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

Issue 2375543003: Add SetProminent() to MdTextButton to create blue buttons. (Closed)
Patch Set: Fix nits. Created 4 years, 2 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
« no previous file with comments | « ui/native_theme/common_theme.cc ('k') | ui/native_theme/native_theme_dark_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_ButtonPressedShade,
263 kColorId_BlueButtonEnabledColor, 263 kColorId_BlueButtonEnabledColor,
264 kColorId_BlueButtonDisabledColor, 264 kColorId_BlueButtonDisabledColor,
265 kColorId_BlueButtonPressedColor, 265 kColorId_BlueButtonPressedColor,
266 kColorId_BlueButtonHoverColor, 266 kColorId_BlueButtonHoverColor,
267 kColorId_BlueButtonShadowColor, 267 kColorId_BlueButtonShadowColor,
268 kColorId_CallToActionColor, 268 kColorId_ProminentButtonColor,
269 kColorId_TextOnCallToActionColor, 269 kColorId_TextOnProminentButtonColor,
270 // MenuItem 270 // MenuItem
271 kColorId_EnabledMenuItemForegroundColor, 271 kColorId_EnabledMenuItemForegroundColor,
272 kColorId_DisabledMenuItemForegroundColor, 272 kColorId_DisabledMenuItemForegroundColor,
273 kColorId_DisabledEmphasizedMenuItemForegroundColor, 273 kColorId_DisabledEmphasizedMenuItemForegroundColor,
274 kColorId_SelectedMenuItemForegroundColor, 274 kColorId_SelectedMenuItemForegroundColor,
275 kColorId_FocusedMenuItemBackgroundColor, 275 kColorId_FocusedMenuItemBackgroundColor,
276 kColorId_HoverMenuItemBackgroundColor, 276 kColorId_HoverMenuItemBackgroundColor,
277 kColorId_MenuSeparatorColor, 277 kColorId_MenuSeparatorColor,
278 kColorId_MenuBackgroundColor, 278 kColorId_MenuBackgroundColor,
279 kColorId_MenuBorderColor, 279 kColorId_MenuBorderColor,
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 private: 380 private:
381 // Observers to notify when the native theme changes. 381 // Observers to notify when the native theme changes.
382 base::ObserverList<NativeThemeObserver> native_theme_observers_; 382 base::ObserverList<NativeThemeObserver> native_theme_observers_;
383 383
384 DISALLOW_COPY_AND_ASSIGN(NativeTheme); 384 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
385 }; 385 };
386 386
387 } // namespace ui 387 } // namespace ui
388 388
389 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ 389 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_
OLDNEW
« no previous file with comments | « ui/native_theme/common_theme.cc ('k') | ui/native_theme/native_theme_dark_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698