diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-26 18:54:50 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-26 18:54:50 +0000 |
commit | 0aaa52814089919103ffa3fee8081e5124c63875 (patch) | |
tree | 4b43ac8931e6beae4d5122803ed8724517e8e07c /views/controls/progress_bar.h | |
parent | f4d92d437ea14ea3a02e95ec837dc6872ca6b183 (diff) | |
download | chromium_src-0aaa52814089919103ffa3fee8081e5124c63875.zip chromium_src-0aaa52814089919103ffa3fee8081e5124c63875.tar.gz chromium_src-0aaa52814089919103ffa3fee8081e5124c63875.tar.bz2 |
Convert View::HasFocus() to be const. Required adding const versions of some accessors which in turn prompted me to make some uses of these accessors be a bit more const-correct.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8393024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107403 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/progress_bar.h')
-rw-r--r-- | views/controls/progress_bar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/controls/progress_bar.h b/views/controls/progress_bar.h index c4d3f24..65247b0 100644 --- a/views/controls/progress_bar.h +++ b/views/controls/progress_bar.h @@ -39,7 +39,8 @@ class VIEWS_EXPORT ProgressBar : public View { virtual std::string GetClassName() const OVERRIDE; virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; - virtual bool GetTooltipText(const gfx::Point& p, string16* tooltip) OVERRIDE; + virtual bool GetTooltipText(const gfx::Point& p, + string16* tooltip) const OVERRIDE; // Sets the inclusive range of values to be displayed. Values outside of the // range will be capped when displayed. |