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 2345183002: Views: Draw Textfield selected text in gray when top-level Widget loses focus.
Patch Set: Refactor to use SelectionController(Delegate). Unfinished! Created 4 years 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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 kColorId_LinkDisabled, 292 kColorId_LinkDisabled,
293 kColorId_LinkEnabled, 293 kColorId_LinkEnabled,
294 kColorId_LinkPressed, 294 kColorId_LinkPressed,
295 // Textfield 295 // Textfield
296 kColorId_TextfieldDefaultColor, 296 kColorId_TextfieldDefaultColor,
297 kColorId_TextfieldDefaultBackground, 297 kColorId_TextfieldDefaultBackground,
298 kColorId_TextfieldReadOnlyColor, 298 kColorId_TextfieldReadOnlyColor,
299 kColorId_TextfieldReadOnlyBackground, 299 kColorId_TextfieldReadOnlyBackground,
300 kColorId_TextfieldSelectionColor, 300 kColorId_TextfieldSelectionColor,
301 kColorId_TextfieldSelectionBackgroundFocused, 301 kColorId_TextfieldSelectionBackgroundFocused,
302 kColorId_TextfieldSelectionBackgroundUnfocused,
302 // Tooltip 303 // Tooltip
303 kColorId_TooltipBackground, 304 kColorId_TooltipBackground,
304 kColorId_TooltipText, 305 kColorId_TooltipText,
305 // Tree 306 // Tree
306 kColorId_TreeBackground, 307 kColorId_TreeBackground,
307 kColorId_TreeText, 308 kColorId_TreeText,
308 kColorId_TreeSelectedText, 309 kColorId_TreeSelectedText,
309 kColorId_TreeSelectedTextUnfocused, 310 kColorId_TreeSelectedTextUnfocused,
310 kColorId_TreeSelectionBackgroundFocused, 311 kColorId_TreeSelectionBackgroundFocused,
311 kColorId_TreeSelectionBackgroundUnfocused, 312 kColorId_TreeSelectionBackgroundUnfocused,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 private: 387 private:
387 // Observers to notify when the native theme changes. 388 // Observers to notify when the native theme changes.
388 base::ObserverList<NativeThemeObserver> native_theme_observers_; 389 base::ObserverList<NativeThemeObserver> native_theme_observers_;
389 390
390 DISALLOW_COPY_AND_ASSIGN(NativeTheme); 391 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
391 }; 392 };
392 393
393 } // namespace ui 394 } // namespace ui
394 395
395 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ 396 #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