Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 24 matching lines...) Expand all Loading... | |
| 35 static const SkColor kResultsTableText = SK_ColorWHITE; | 35 static const SkColor kResultsTableText = SK_ColorWHITE; |
| 36 static const SkColor kResultsTableDimmedText = | 36 static const SkColor kResultsTableDimmedText = |
| 37 SkColorSetA(kResultsTableText, 0x80); | 37 SkColorSetA(kResultsTableText, 0x80); |
| 38 | 38 |
| 39 switch (color_id) { | 39 switch (color_id) { |
| 40 // Button | 40 // Button |
| 41 case kColorId_ButtonEnabledColor: | 41 case kColorId_ButtonEnabledColor: |
| 42 return kButtonEnabledColor; | 42 return kButtonEnabledColor; |
| 43 case kColorId_CallToActionColor: | 43 case kColorId_CallToActionColor: |
| 44 return gfx::kGoogleBlue300; | 44 return gfx::kGoogleBlue300; |
| 45 case kColorId_ButtonPressedShade: | |
|
Evan Stade
2016/09/08 14:50:47
nit: move to intentional pass-throughs block
Elly Fong-Jones
2016/09/08 16:06:12
Done.
| |
| 46 return SK_ColorTRANSPARENT; | |
| 45 | 47 |
| 46 // Label | 48 // Label |
| 47 case kColorId_LabelEnabledColor: | 49 case kColorId_LabelEnabledColor: |
| 48 return kPrimaryTextColor; | 50 return kPrimaryTextColor; |
| 49 case kColorId_LabelDisabledColor: | 51 case kColorId_LabelDisabledColor: |
| 50 return kDisabledTextColor; | 52 return kDisabledTextColor; |
| 51 case kColorId_LabelBackgroundColor: | 53 case kColorId_LabelBackgroundColor: |
| 52 return kDefaultDarkBackground; | 54 return kDefaultDarkBackground; |
| 53 | 55 |
| 54 // Link | 56 // Link |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 159 | 161 |
| 160 NOTREACHED(); | 162 NOTREACHED(); |
| 161 return gfx::kPlaceholderColor; | 163 return gfx::kPlaceholderColor; |
| 162 } | 164 } |
| 163 | 165 |
| 164 NativeThemeDarkAura::NativeThemeDarkAura() {} | 166 NativeThemeDarkAura::NativeThemeDarkAura() {} |
| 165 | 167 |
| 166 NativeThemeDarkAura::~NativeThemeDarkAura() {} | 168 NativeThemeDarkAura::~NativeThemeDarkAura() {} |
| 167 | 169 |
| 168 } // namespace ui | 170 } // namespace ui |
| OLD | NEW |