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

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

Issue 2076893002: Theme code cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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_win.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 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/base/material_design/material_design_controller.h" 7 #include "ui/base/material_design/material_design_controller.h"
8 #include "ui/gfx/color_palette.h" 8 #include "ui/gfx/color_palette.h"
9 9
10 namespace ui { 10 namespace ui {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 return kTextfieldDefaultBackground; 50 return kTextfieldDefaultBackground;
51 case kColorId_TextfieldSelectionBackgroundFocused: 51 case kColorId_TextfieldSelectionBackgroundFocused:
52 return kTextfieldSelectionBackgroundFocused; 52 return kTextfieldSelectionBackgroundFocused;
53 53
54 // Results Tables 54 // Results Tables
55 case kColorId_ResultsTableNormalBackground: 55 case kColorId_ResultsTableNormalBackground:
56 return kResultsTableNormalBackground; 56 return kResultsTableNormalBackground;
57 case kColorId_ResultsTableNormalText: 57 case kColorId_ResultsTableNormalText:
58 case kColorId_ResultsTableHoveredText: 58 case kColorId_ResultsTableHoveredText:
59 case kColorId_ResultsTableSelectedText: 59 case kColorId_ResultsTableSelectedText:
60 case kColorId_ResultsTableNormalHeadline:
61 case kColorId_ResultsTableHoveredHeadline:
62 case kColorId_ResultsTableSelectedHeadline:
63 return kResultsTableText; 60 return kResultsTableText;
64 case kColorId_ResultsTableNormalDimmedText: 61 case kColorId_ResultsTableNormalDimmedText:
65 case kColorId_ResultsTableHoveredDimmedText: 62 case kColorId_ResultsTableHoveredDimmedText:
66 case kColorId_ResultsTableSelectedDimmedText: 63 case kColorId_ResultsTableSelectedDimmedText:
67 return kResultsTableDimmedText; 64 return kResultsTableDimmedText;
68 65
69 // FocusableBorder 66 // FocusableBorder
70 case kColorId_FocusedBorderColor: 67 case kColorId_FocusedBorderColor:
71 return gfx::kGoogleBlue300; 68 return gfx::kGoogleBlue300;
72 69
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 141
145 NOTREACHED(); 142 NOTREACHED();
146 return gfx::kPlaceholderColor; 143 return gfx::kPlaceholderColor;
147 } 144 }
148 145
149 NativeThemeDarkAura::NativeThemeDarkAura() {} 146 NativeThemeDarkAura::NativeThemeDarkAura() {}
150 147
151 NativeThemeDarkAura::~NativeThemeDarkAura() {} 148 NativeThemeDarkAura::~NativeThemeDarkAura() {}
152 149
153 } // namespace ui 150 } // namespace ui
OLDNEW
« no previous file with comments | « ui/native_theme/native_theme.h ('k') | ui/native_theme/native_theme_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698