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

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 lifetime issues with BorderView's widget_ and address review comments. 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 kColorId_LinkDisabled, 290 kColorId_LinkDisabled,
291 kColorId_LinkEnabled, 291 kColorId_LinkEnabled,
292 kColorId_LinkPressed, 292 kColorId_LinkPressed,
293 // Textfield 293 // Textfield
294 kColorId_TextfieldDefaultColor, 294 kColorId_TextfieldDefaultColor,
295 kColorId_TextfieldDefaultBackground, 295 kColorId_TextfieldDefaultBackground,
296 kColorId_TextfieldReadOnlyColor, 296 kColorId_TextfieldReadOnlyColor,
297 kColorId_TextfieldReadOnlyBackground, 297 kColorId_TextfieldReadOnlyBackground,
298 kColorId_TextfieldSelectionColor, 298 kColorId_TextfieldSelectionColor,
299 kColorId_TextfieldSelectionBackgroundFocused, 299 kColorId_TextfieldSelectionBackgroundFocused,
300 kColorId_TextfieldSelectionBackgroundUnfocused,
300 // Tooltip 301 // Tooltip
301 kColorId_TooltipBackground, 302 kColorId_TooltipBackground,
302 kColorId_TooltipText, 303 kColorId_TooltipText,
303 // Tree 304 // Tree
304 kColorId_TreeBackground, 305 kColorId_TreeBackground,
305 kColorId_TreeText, 306 kColorId_TreeText,
306 kColorId_TreeSelectedText, 307 kColorId_TreeSelectedText,
307 kColorId_TreeSelectedTextUnfocused, 308 kColorId_TreeSelectedTextUnfocused,
308 kColorId_TreeSelectionBackgroundFocused, 309 kColorId_TreeSelectionBackgroundFocused,
309 kColorId_TreeSelectionBackgroundUnfocused, 310 kColorId_TreeSelectionBackgroundUnfocused,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 private: 382 private:
382 // Observers to notify when the native theme changes. 383 // Observers to notify when the native theme changes.
383 base::ObserverList<NativeThemeObserver> native_theme_observers_; 384 base::ObserverList<NativeThemeObserver> native_theme_observers_;
384 385
385 DISALLOW_COPY_AND_ASSIGN(NativeTheme); 386 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
386 }; 387 };
387 388
388 } // namespace ui 389 } // namespace ui
389 390
390 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ 391 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698