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

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: Fix up diff & add colors to Windows/Mac. Created 4 years, 3 months 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 kColorId_LinkDisabled, 289 kColorId_LinkDisabled,
290 kColorId_LinkEnabled, 290 kColorId_LinkEnabled,
291 kColorId_LinkPressed, 291 kColorId_LinkPressed,
292 // Textfield 292 // Textfield
293 kColorId_TextfieldDefaultColor, 293 kColorId_TextfieldDefaultColor,
294 kColorId_TextfieldDefaultBackground, 294 kColorId_TextfieldDefaultBackground,
295 kColorId_TextfieldReadOnlyColor, 295 kColorId_TextfieldReadOnlyColor,
296 kColorId_TextfieldReadOnlyBackground, 296 kColorId_TextfieldReadOnlyBackground,
297 kColorId_TextfieldSelectionColor, 297 kColorId_TextfieldSelectionColor,
298 kColorId_TextfieldSelectionBackgroundFocused, 298 kColorId_TextfieldSelectionBackgroundFocused,
299 kColorId_TextfieldSelectionBackgroundUnfocused,
299 // Tooltip 300 // Tooltip
300 kColorId_TooltipBackground, 301 kColorId_TooltipBackground,
301 kColorId_TooltipText, 302 kColorId_TooltipText,
302 // Tree 303 // Tree
303 kColorId_TreeBackground, 304 kColorId_TreeBackground,
304 kColorId_TreeText, 305 kColorId_TreeText,
305 kColorId_TreeSelectedText, 306 kColorId_TreeSelectedText,
306 kColorId_TreeSelectedTextUnfocused, 307 kColorId_TreeSelectedTextUnfocused,
307 kColorId_TreeSelectionBackgroundFocused, 308 kColorId_TreeSelectionBackgroundFocused,
308 kColorId_TreeSelectionBackgroundUnfocused, 309 kColorId_TreeSelectionBackgroundUnfocused,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 private: 381 private:
381 // Observers to notify when the native theme changes. 382 // Observers to notify when the native theme changes.
382 base::ObserverList<NativeThemeObserver> native_theme_observers_; 383 base::ObserverList<NativeThemeObserver> native_theme_observers_;
383 384
384 DISALLOW_COPY_AND_ASSIGN(NativeTheme); 385 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
385 }; 386 };
386 387
387 } // namespace ui 388 } // namespace ui
388 389
389 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ 390 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698