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

Unified Diff: chrome/views/text_field.h

Issue 10662: Fixes text field background when disabled/read-only to better match... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/views/text_field.cc » ('j') | chrome/views/text_field.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/text_field.h
===================================================================
--- chrome/views/text_field.h (revision 5301)
+++ chrome/views/text_field.h (working copy)
@@ -136,6 +136,7 @@
void RemoveBorder();
// Disable the edit control.
+ // NOTE: this does NOT change the read only property.
void SetEnabled(bool enabled);
private:
@@ -150,6 +151,9 @@
// Reset the text field native control.
void ResetNativeControl();
+ // Resets the background color of the edit.
+ void UpdateEditBackgroundColor();
+
// This encapsulates the HWND of the native text field.
HWNDView* native_view_;
« no previous file with comments | « no previous file | chrome/views/text_field.cc » ('j') | chrome/views/text_field.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698