| 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/gfx/color_palette.h" | 7 #include "ui/gfx/color_palette.h" |
| 8 | 8 |
| 9 namespace ui { | 9 namespace ui { |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 case kColorId_WindowBackground: | 35 case kColorId_WindowBackground: |
| 36 case kColorId_DialogBackground: | 36 case kColorId_DialogBackground: |
| 37 case kColorId_BubbleBackground: | 37 case kColorId_BubbleBackground: |
| 38 return SK_ColorBLACK; | 38 return SK_ColorBLACK; |
| 39 | 39 |
| 40 // Button | 40 // Button |
| 41 case kColorId_ButtonEnabledColor: | 41 case kColorId_ButtonEnabledColor: |
| 42 return kButtonEnabledColor; | 42 return kButtonEnabledColor; |
| 43 case kColorId_ProminentButtonColor: | 43 case kColorId_ProminentButtonColor: |
| 44 return gfx::kGoogleBlue300; | 44 return gfx::kGoogleBlue300; |
| 45 case kColorId_ProminentButtonBorderColor: |
| 46 return SK_ColorTRANSPARENT; |
| 47 case kColorId_NonProminentButtonBorderColor: |
| 48 return SK_ColorWHITE; |
| 45 | 49 |
| 46 // Label | 50 // Label |
| 47 case kColorId_LabelEnabledColor: | 51 case kColorId_LabelEnabledColor: |
| 48 return kPrimaryTextColor; | 52 return kPrimaryTextColor; |
| 49 | 53 |
| 50 // Link | 54 // Link |
| 51 case kColorId_LinkEnabled: | 55 case kColorId_LinkEnabled: |
| 52 case kColorId_LinkPressed: | 56 case kColorId_LinkPressed: |
| 53 return gfx::kGoogleBlue300; | 57 return gfx::kGoogleBlue300; |
| 54 | 58 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 | 153 |
| 150 NOTREACHED(); | 154 NOTREACHED(); |
| 151 return gfx::kPlaceholderColor; | 155 return gfx::kPlaceholderColor; |
| 152 } | 156 } |
| 153 | 157 |
| 154 NativeThemeDarkAura::NativeThemeDarkAura() {} | 158 NativeThemeDarkAura::NativeThemeDarkAura() {} |
| 155 | 159 |
| 156 NativeThemeDarkAura::~NativeThemeDarkAura() {} | 160 NativeThemeDarkAura::~NativeThemeDarkAura() {} |
| 157 | 161 |
| 158 } // namespace ui | 162 } // namespace ui |
| OLD | NEW |