Index: ui/views/controls/link.h |
diff --git a/ui/views/controls/link.h b/ui/views/controls/link.h |
index a28a73c7c91a9625c83084fae0bbf481d2dcf642..9e7649209897737981ac01e705ff22c81788e88d 100644 |
--- a/ui/views/controls/link.h |
+++ b/ui/views/controls/link.h |
@@ -36,7 +36,6 @@ class VIEWS_EXPORT Link : public Label { |
// Label: |
virtual const char* GetClassName() const OVERRIDE; |
virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; |
- virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; |
virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; |
virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; |
virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; |
@@ -53,6 +52,9 @@ class VIEWS_EXPORT Link : public Label { |
virtual void SetText(const base::string16& text) OVERRIDE; |
virtual void SetEnabledColor(SkColor color) OVERRIDE; |
+ // ui::EventTarget: |
+ virtual bool CanAcceptEvent(const ui::Event& event) OVERRIDE; |
+ |
void SetPressedColor(SkColor color); |
void SetUnderline(bool underline); |