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

Unified Diff: views/controls/native_control_gtk.h

Issue 6976048: views: Add OnEnabledChanged() method to View class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win, move OnEnabledChanged to protected section, add comment 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
Index: views/controls/native_control_gtk.h
diff --git a/views/controls/native_control_gtk.h b/views/controls/native_control_gtk.h
index 32a34f6ffc9e7ad3207a7a69c646e2400f9c3a50..05582fb25a87d4a9b1df227ee515c23d1c02abb6 100644
--- a/views/controls/native_control_gtk.h
+++ b/views/controls/native_control_gtk.h
@@ -19,7 +19,7 @@ class NativeControlGtk : public NativeViewHost {
virtual ~NativeControlGtk();
// Overridden from View:
- virtual void SetEnabled(bool enabled);
+ virtual void OnEnabledChanged();
protected:
virtual void ViewHierarchyChanged(bool is_add, View *parent, View *child);

Powered by Google App Engine
This is Rietveld 408576698