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

Side by Side Diff: ui/native_theme/native_theme.h

Issue 2413223003: Views:: Make Labels support text selection. (Closed)
Patch Set: -- Created 4 years, 1 month 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
OLDNEW
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_NATIVE_THEME_NATIVE_THEME_H_ 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_H_ 6 #define UI_NATIVE_THEME_NATIVE_THEME_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 kColorId_MenuSeparatorColor, 272 kColorId_MenuSeparatorColor,
273 kColorId_MenuBackgroundColor, 273 kColorId_MenuBackgroundColor,
274 kColorId_MenuBorderColor, 274 kColorId_MenuBorderColor,
275 // MenuButton - buttons in wrench menu 275 // MenuButton - buttons in wrench menu
276 kColorId_EnabledMenuButtonBorderColor, 276 kColorId_EnabledMenuButtonBorderColor,
277 kColorId_FocusedMenuButtonBorderColor, 277 kColorId_FocusedMenuButtonBorderColor,
278 kColorId_HoverMenuButtonBorderColor, 278 kColorId_HoverMenuButtonBorderColor,
279 // Label 279 // Label
280 kColorId_LabelEnabledColor, 280 kColorId_LabelEnabledColor,
281 kColorId_LabelDisabledColor, 281 kColorId_LabelDisabledColor,
282 kColorId_LabelTextSelectionColor,
283 kColorId_LabelTextSelectionBackgroundFocused,
282 // Link 284 // Link
283 kColorId_LinkDisabled, 285 kColorId_LinkDisabled,
284 kColorId_LinkEnabled, 286 kColorId_LinkEnabled,
285 kColorId_LinkPressed, 287 kColorId_LinkPressed,
286 // Textfield 288 // Textfield
287 kColorId_TextfieldDefaultColor, 289 kColorId_TextfieldDefaultColor,
288 kColorId_TextfieldDefaultBackground, 290 kColorId_TextfieldDefaultBackground,
289 kColorId_TextfieldReadOnlyColor, 291 kColorId_TextfieldReadOnlyColor,
290 kColorId_TextfieldReadOnlyBackground, 292 kColorId_TextfieldReadOnlyBackground,
291 kColorId_TextfieldSelectionColor, 293 kColorId_TextfieldSelectionColor,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 private: 376 private:
375 // Observers to notify when the native theme changes. 377 // Observers to notify when the native theme changes.
376 base::ObserverList<NativeThemeObserver> native_theme_observers_; 378 base::ObserverList<NativeThemeObserver> native_theme_observers_;
377 379
378 DISALLOW_COPY_AND_ASSIGN(NativeTheme); 380 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
379 }; 381 };
380 382
381 } // namespace ui 383 } // namespace ui
382 384
383 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ 385 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698