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

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 focus changing to other Views. Created 4 years, 2 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 kColorId_LinkDisabled, 283 kColorId_LinkDisabled,
284 kColorId_LinkEnabled, 284 kColorId_LinkEnabled,
285 kColorId_LinkPressed, 285 kColorId_LinkPressed,
286 // Textfield 286 // Textfield
287 kColorId_TextfieldDefaultColor, 287 kColorId_TextfieldDefaultColor,
288 kColorId_TextfieldDefaultBackground, 288 kColorId_TextfieldDefaultBackground,
289 kColorId_TextfieldReadOnlyColor, 289 kColorId_TextfieldReadOnlyColor,
290 kColorId_TextfieldReadOnlyBackground, 290 kColorId_TextfieldReadOnlyBackground,
291 kColorId_TextfieldSelectionColor, 291 kColorId_TextfieldSelectionColor,
292 kColorId_TextfieldSelectionBackgroundFocused, 292 kColorId_TextfieldSelectionBackgroundFocused,
293 kColorId_TextfieldSelectionBackgroundUnfocused,
293 // Tooltip 294 // Tooltip
294 kColorId_TooltipBackground, 295 kColorId_TooltipBackground,
295 kColorId_TooltipText, 296 kColorId_TooltipText,
296 // Tree 297 // Tree
297 kColorId_TreeBackground, 298 kColorId_TreeBackground,
298 kColorId_TreeText, 299 kColorId_TreeText,
299 kColorId_TreeSelectedText, 300 kColorId_TreeSelectedText,
300 kColorId_TreeSelectedTextUnfocused, 301 kColorId_TreeSelectedTextUnfocused,
301 kColorId_TreeSelectionBackgroundFocused, 302 kColorId_TreeSelectionBackgroundFocused,
302 kColorId_TreeSelectionBackgroundUnfocused, 303 kColorId_TreeSelectionBackgroundUnfocused,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 private: 375 private:
375 // Observers to notify when the native theme changes. 376 // Observers to notify when the native theme changes.
376 base::ObserverList<NativeThemeObserver> native_theme_observers_; 377 base::ObserverList<NativeThemeObserver> native_theme_observers_;
377 378
378 DISALLOW_COPY_AND_ASSIGN(NativeTheme); 379 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
379 }; 380 };
380 381
381 } // namespace ui 382 } // namespace ui
382 383
383 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ 384 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698