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

Unified Diff: views/controls/link.h

Issue 7248064: views: Override Label::HitTest with the default View::HitTest for Link. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 6 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 | « no previous file | views/controls/link.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/link.h
diff --git a/views/controls/link.h b/views/controls/link.h
index 3803bbc9d8a69469996015c3fa73a04bad3491d8..548df6bcdfc845529e28ac5dd7b510de5ed8647c 100644
--- a/views/controls/link.h
+++ b/views/controls/link.h
@@ -35,6 +35,7 @@ class Link : public Label {
virtual void OnEnabledChanged() OVERRIDE;
virtual std::string GetClassName() const OVERRIDE;
virtual gfx::NativeCursor GetCursor(const MouseEvent& event) OVERRIDE;
+ virtual bool HitTest(const gfx::Point& l) const OVERRIDE;
virtual bool OnMousePressed(const MouseEvent& event) OVERRIDE;
virtual bool OnMouseDragged(const MouseEvent& event) OVERRIDE;
virtual void OnMouseReleased(const MouseEvent& event) OVERRIDE;
« no previous file with comments | « no previous file | views/controls/link.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698