Index: ui/views/controls/label.h |
diff --git a/ui/views/controls/label.h b/ui/views/controls/label.h |
index 17251f3528b89f080d6d62ef076504d886c84649..917780bb3ed97561c25f5b90273c354f53f65ace 100644 |
--- a/ui/views/controls/label.h |
+++ b/ui/views/controls/label.h |
@@ -185,7 +185,6 @@ class VIEWS_EXPORT Label : public View { |
virtual int GetHeightForWidth(int w) OVERRIDE; |
virtual const char* GetClassName() const OVERRIDE; |
virtual View* GetTooltipHandlerForPoint(const gfx::Point& point) OVERRIDE; |
- virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; |
virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; |
// Gets the tooltip text for labels that are wider than their bounds, except |
// when the label is multiline, in which case it just returns false (no |
@@ -194,6 +193,9 @@ class VIEWS_EXPORT Label : public View { |
virtual bool GetTooltipText(const gfx::Point& p, |
base::string16* tooltip) const OVERRIDE; |
+ // ui::EventTarget: |
+ virtual bool CanAcceptEvent(const ui::Event& event) OVERRIDE; |
+ |
protected: |
// Called by Paint to paint the text. Override this to change how |
// text is painted. |