OLD | NEW |
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_GFX_NATIVE_THEME_H_ | 5 #ifndef UI_GFX_NATIVE_THEME_H_ |
6 #define UI_GFX_NATIVE_THEME_H_ | 6 #define UI_GFX_NATIVE_THEME_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "third_party/skia/include/core/SkColor.h" | 9 #include "third_party/skia/include/core/SkColor.h" |
10 #include "ui/base/ui_export.h" | 10 #include "ui/base/ui_export.h" |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 // TextButton | 224 // TextButton |
225 kColorId_TextButtonBackgroundColor, | 225 kColorId_TextButtonBackgroundColor, |
226 kColorId_TextButtonEnabledColor, | 226 kColorId_TextButtonEnabledColor, |
227 kColorId_TextButtonDisabledColor, | 227 kColorId_TextButtonDisabledColor, |
228 kColorId_TextButtonHighlightColor, | 228 kColorId_TextButtonHighlightColor, |
229 kColorId_TextButtonHoverColor, | 229 kColorId_TextButtonHoverColor, |
230 // MenuItem | 230 // MenuItem |
231 kColorId_EnabledMenuItemForegroundColor, | 231 kColorId_EnabledMenuItemForegroundColor, |
232 kColorId_DisabledMenuItemForegroundColor, | 232 kColorId_DisabledMenuItemForegroundColor, |
233 kColorId_FocusedMenuItemBackgroundColor, | 233 kColorId_FocusedMenuItemBackgroundColor, |
| 234 // Label |
| 235 kColorId_LabelEnabledColor, |
| 236 kColorId_LabelDisabledColor, |
| 237 kColorId_LabelBackgroundColor, |
234 // Textfield | 238 // Textfield |
235 kColorId_TextfieldDefaultColor, | 239 kColorId_TextfieldDefaultColor, |
236 kColorId_TextfieldDefaultBackground, | 240 kColorId_TextfieldDefaultBackground, |
237 kColorId_TextfieldSelectionColor, | 241 kColorId_TextfieldSelectionColor, |
238 kColorId_TextfieldSelectionBackgroundFocused, | 242 kColorId_TextfieldSelectionBackgroundFocused, |
239 kColorId_TextfieldSelectionBackgroundUnfocused, | 243 kColorId_TextfieldSelectionBackgroundUnfocused, |
240 // TODO(benrg): move other hardcoded colors here. | 244 // TODO(benrg): move other hardcoded colors here. |
241 }; | 245 }; |
242 | 246 |
243 // Return a color from the system theme. | 247 // Return a color from the system theme. |
(...skipping 13 matching lines...) Expand all Loading... |
257 static unsigned int thumb_inactive_color_; | 261 static unsigned int thumb_inactive_color_; |
258 static unsigned int thumb_active_color_; | 262 static unsigned int thumb_active_color_; |
259 static unsigned int track_color_; | 263 static unsigned int track_color_; |
260 | 264 |
261 DISALLOW_COPY_AND_ASSIGN(NativeTheme); | 265 DISALLOW_COPY_AND_ASSIGN(NativeTheme); |
262 }; | 266 }; |
263 | 267 |
264 } // namespace gfx | 268 } // namespace gfx |
265 | 269 |
266 #endif // UI_GFX_NATIVE_THEME_H_ | 270 #endif // UI_GFX_NATIVE_THEME_H_ |
OLD | NEW |