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

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

Issue 2413223003: Views:: Make Labels support text selection. (Closed)
Patch Set: Rebase 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
« no previous file with comments | « ui/native_theme/common_theme.cc ('k') | ui/native_theme/native_theme_dark_aura.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 (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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 kColorId_MenuSeparatorColor, 279 kColorId_MenuSeparatorColor,
280 kColorId_MenuBackgroundColor, 280 kColorId_MenuBackgroundColor,
281 kColorId_MenuBorderColor, 281 kColorId_MenuBorderColor,
282 // MenuButton - buttons in wrench menu 282 // MenuButton - buttons in wrench menu
283 kColorId_EnabledMenuButtonBorderColor, 283 kColorId_EnabledMenuButtonBorderColor,
284 kColorId_FocusedMenuButtonBorderColor, 284 kColorId_FocusedMenuButtonBorderColor,
285 kColorId_HoverMenuButtonBorderColor, 285 kColorId_HoverMenuButtonBorderColor,
286 // Label 286 // Label
287 kColorId_LabelEnabledColor, 287 kColorId_LabelEnabledColor,
288 kColorId_LabelDisabledColor, 288 kColorId_LabelDisabledColor,
289 kColorId_LabelTextSelectionColor,
290 kColorId_LabelTextSelectionBackgroundFocused,
289 // Link 291 // Link
290 kColorId_LinkDisabled, 292 kColorId_LinkDisabled,
291 kColorId_LinkEnabled, 293 kColorId_LinkEnabled,
292 kColorId_LinkPressed, 294 kColorId_LinkPressed,
293 // Textfield 295 // Textfield
294 kColorId_TextfieldDefaultColor, 296 kColorId_TextfieldDefaultColor,
295 kColorId_TextfieldDefaultBackground, 297 kColorId_TextfieldDefaultBackground,
296 kColorId_TextfieldReadOnlyColor, 298 kColorId_TextfieldReadOnlyColor,
297 kColorId_TextfieldReadOnlyBackground, 299 kColorId_TextfieldReadOnlyBackground,
298 kColorId_TextfieldSelectionColor, 300 kColorId_TextfieldSelectionColor,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 private: 386 private:
385 // Observers to notify when the native theme changes. 387 // Observers to notify when the native theme changes.
386 base::ObserverList<NativeThemeObserver> native_theme_observers_; 388 base::ObserverList<NativeThemeObserver> native_theme_observers_;
387 389
388 DISALLOW_COPY_AND_ASSIGN(NativeTheme); 390 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
389 }; 391 };
390 392
391 } // namespace ui 393 } // namespace ui
392 394
393 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ 395 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_
OLDNEW
« no previous file with comments | « ui/native_theme/common_theme.cc ('k') | ui/native_theme/native_theme_dark_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698