summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-15 18:17:35 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-15 18:17:35 +0000
commit235c8ce0c8ec41ef162988dc3170ad353f60f189 (patch)
tree0d6b409dac984d70ad4337e22921cfd6bf52e10f /views
parent5d47fa8aa8f02fcfa256de0f08115a882e7d3841 (diff)
downloadchromium_src-235c8ce0c8ec41ef162988dc3170ad353f60f189.zip
chromium_src-235c8ce0c8ec41ef162988dc3170ad353f60f189.tar.gz
chromium_src-235c8ce0c8ec41ef162988dc3170ad353f60f189.tar.bz2
Clang fix.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101333 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/controls/label.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/controls/label.h b/views/controls/label.h
index 8bca9dd..617d08f 100644
--- a/views/controls/label.h
+++ b/views/controls/label.h
@@ -172,12 +172,11 @@ class VIEWS_EXPORT Label : public View {
virtual void OnMouseEntered(const MouseEvent& event) OVERRIDE;
virtual void OnMouseExited(const MouseEvent& event) OVERRIDE;
virtual void GetAccessibleState(ui::AccessibleViewState* 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
// tooltip). If a custom tooltip has been specified with SetTooltipText()
// it is returned instead.
- bool GetTooltipText(const gfx::Point& p, string16* tooltip);
+ virtual bool GetTooltipText(const gfx::Point& p, string16* tooltip) OVERRIDE;
protected:
// Called by Paint to paint the text. Override this to change how