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

Unified Diff: views/controls/resize_area.cc

Issue 6976048: views: Add OnEnabledChanged() method to View class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix DisableOnHover test? Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/controls/progress_bar.cc ('k') | views/controls/textfield/textfield.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/resize_area.cc
diff --git a/views/controls/resize_area.cc b/views/controls/resize_area.cc
index a0a62ee69008ca5957fb208e207e4b39f311bb9e..dd382860bf8b199bd9c9844f9b42796f47e5fabe 100644
--- a/views/controls/resize_area.cc
+++ b/views/controls/resize_area.cc
@@ -32,7 +32,7 @@ std::string ResizeArea::GetClassName() const {
}
gfx::NativeCursor ResizeArea::GetCursor(const MouseEvent& event) {
- if (!enabled_)
+ if (!IsEnabled())
return NULL;
#if defined(OS_WIN)
static HCURSOR g_resize_cursor = LoadCursor(NULL, IDC_SIZEWE);
« no previous file with comments | « views/controls/progress_bar.cc ('k') | views/controls/textfield/textfield.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698