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

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

Issue 2813703003: Use NativeTheme to draw vertical menu separators. (Closed)
Patch Set: use rectf Created 3 years, 8 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 kColorId_TextOnProminentButtonColor, 312 kColorId_TextOnProminentButtonColor,
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 // MenuButton - buttons in wrench menu
323 kColorId_EnabledMenuButtonBorderColor,
324 kColorId_FocusedMenuButtonBorderColor,
325 kColorId_HoverMenuButtonBorderColor,
326 // Label 322 // Label
327 kColorId_LabelEnabledColor, 323 kColorId_LabelEnabledColor,
328 kColorId_LabelDisabledColor, 324 kColorId_LabelDisabledColor,
329 kColorId_LabelTextSelectionColor, 325 kColorId_LabelTextSelectionColor,
330 kColorId_LabelTextSelectionBackgroundFocused, 326 kColorId_LabelTextSelectionBackgroundFocused,
331 // Link 327 // Link
332 kColorId_LinkDisabled, 328 kColorId_LinkDisabled,
333 kColorId_LinkEnabled, 329 kColorId_LinkEnabled,
334 kColorId_LinkPressed, 330 kColorId_LinkPressed,
335 // Separator 331 // Separator
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 private: 427 private:
432 // Observers to notify when the native theme changes. 428 // Observers to notify when the native theme changes.
433 base::ObserverList<NativeThemeObserver> native_theme_observers_; 429 base::ObserverList<NativeThemeObserver> native_theme_observers_;
434 430
435 DISALLOW_COPY_AND_ASSIGN(NativeTheme); 431 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
436 }; 432 };
437 433
438 } // namespace ui 434 } // namespace ui
439 435
440 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ 436 #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