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

Side by Side Diff: ui/native_theme/native_theme_dark_aura.cc

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/native_theme.h ('k') | ui/native_theme/native_theme_mac.mm » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "ui/native_theme/native_theme_dark_aura.h" 5 #include "ui/native_theme/native_theme_dark_aura.h"
6 6
7 #include "ui/gfx/color_palette.h" 7 #include "ui/gfx/color_palette.h"
8 8
9 namespace ui { 9 namespace ui {
10 10
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 case kColorId_BlueButtonHoverColor: 109 case kColorId_BlueButtonHoverColor:
110 case kColorId_BlueButtonShadowColor: 110 case kColorId_BlueButtonShadowColor:
111 case kColorId_EnabledMenuItemForegroundColor: 111 case kColorId_EnabledMenuItemForegroundColor:
112 case kColorId_DisabledMenuItemForegroundColor: 112 case kColorId_DisabledMenuItemForegroundColor:
113 case kColorId_SelectedMenuItemForegroundColor: 113 case kColorId_SelectedMenuItemForegroundColor:
114 case kColorId_FocusedMenuItemBackgroundColor: 114 case kColorId_FocusedMenuItemBackgroundColor:
115 case kColorId_MenuItemSubtitleColor: 115 case kColorId_MenuItemSubtitleColor:
116 case kColorId_MenuSeparatorColor: 116 case kColorId_MenuSeparatorColor:
117 case kColorId_MenuBackgroundColor: 117 case kColorId_MenuBackgroundColor:
118 case kColorId_MenuBorderColor: 118 case kColorId_MenuBorderColor:
119 case kColorId_EnabledMenuButtonBorderColor:
120 case kColorId_FocusedMenuButtonBorderColor:
121 case kColorId_HoverMenuButtonBorderColor:
122 case kColorId_LinkDisabled: 119 case kColorId_LinkDisabled:
123 case kColorId_TextfieldReadOnlyColor: 120 case kColorId_TextfieldReadOnlyColor:
124 case kColorId_TextfieldReadOnlyBackground: 121 case kColorId_TextfieldReadOnlyBackground:
125 case kColorId_TooltipBackground: 122 case kColorId_TooltipBackground:
126 case kColorId_TooltipText: 123 case kColorId_TooltipText:
127 case kColorId_TreeBackground: 124 case kColorId_TreeBackground:
128 case kColorId_TreeText: 125 case kColorId_TreeText:
129 case kColorId_TreeSelectedText: 126 case kColorId_TreeSelectedText:
130 case kColorId_TreeSelectedTextUnfocused: 127 case kColorId_TreeSelectedTextUnfocused:
131 case kColorId_TreeSelectionBackgroundFocused: 128 case kColorId_TreeSelectionBackgroundFocused:
(...skipping 24 matching lines...) Expand all
156 153
157 NOTREACHED(); 154 NOTREACHED();
158 return gfx::kPlaceholderColor; 155 return gfx::kPlaceholderColor;
159 } 156 }
160 157
161 NativeThemeDarkAura::NativeThemeDarkAura() : NativeThemeAura(false) {} 158 NativeThemeDarkAura::NativeThemeDarkAura() : NativeThemeAura(false) {}
162 159
163 NativeThemeDarkAura::~NativeThemeDarkAura() {} 160 NativeThemeDarkAura::~NativeThemeDarkAura() {}
164 161
165 } // namespace ui 162 } // namespace ui
OLDNEW
« no previous file with comments | « ui/native_theme/native_theme.h ('k') | ui/native_theme/native_theme_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698