summaryrefslogtreecommitdiffstats
path: root/views/controls/progress_bar.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-26 18:54:50 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-26 18:54:50 +0000
commit0aaa52814089919103ffa3fee8081e5124c63875 (patch)
tree4b43ac8931e6beae4d5122803ed8724517e8e07c /views/controls/progress_bar.cc
parentf4d92d437ea14ea3a02e95ec837dc6872ca6b183 (diff)
downloadchromium_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.cc')
-rw-r--r--views/controls/progress_bar.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/progress_bar.cc b/views/controls/progress_bar.cc
index 0d70b7b..587e6dc 100644
--- a/views/controls/progress_bar.cc
+++ b/views/controls/progress_bar.cc
@@ -289,7 +289,7 @@ void ProgressBar::OnPaint(gfx::Canvas* canvas) {
#endif
}
-bool ProgressBar::GetTooltipText(const gfx::Point& p, string16* tooltip) {
+bool ProgressBar::GetTooltipText(const gfx::Point& p, string16* tooltip) const {
DCHECK(tooltip);
if (tooltip == NULL)
return false;