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

Unified Diff: views/controls/link.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/link.h
diff --git a/views/controls/link.h b/views/controls/link.h
index 2a356bde0ba3e850f86fd276e2c24d2fd5ebe8ed..3803bbc9d8a69469996015c3fa73a04bad3491d8 100644
--- a/views/controls/link.h
+++ b/views/controls/link.h
@@ -32,7 +32,7 @@ class Link : public Label {
void set_listener(LinkListener* listener) { listener_ = listener; }
// Overridden from View:
- virtual void SetEnabled(bool flag) OVERRIDE;
+ virtual void OnEnabledChanged() OVERRIDE;
virtual std::string GetClassName() const OVERRIDE;
virtual gfx::NativeCursor GetCursor(const MouseEvent& event) OVERRIDE;
virtual bool OnMousePressed(const MouseEvent& event) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698