summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_window.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 18:11:55 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 18:11:55 +0000
commit8ad2ac49bd0bff04d92162f5e215398eb5372cec (patch)
tree0f129107b91a02124358dd12f6d09a89d2ae7a6d /chrome/browser/browser_window.h
parent0b88fdb528f015cc6c602ec098878a5e0203657b (diff)
downloadchromium_src-8ad2ac49bd0bff04d92162f5e215398eb5372cec.zip
chromium_src-8ad2ac49bd0bff04d92162f5e215398eb5372cec.tar.gz
chromium_src-8ad2ac49bd0bff04d92162f5e215398eb5372cec.tar.bz2
Make some functions const. This will help with my fullscreen mode changes.
The only tricky bit here is how GetBookmarkBarView() is no longer guaranteed to return non-NULL. The only caller of this is the automation framework, in one place, which explicitly NULL-checks the result and does the right thing, so there should not be any problems. Review URL: http://codereview.chromium.org/23026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9764 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_window.h')
-rw-r--r--chrome/browser/browser_window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h
index 2809d2e..5a43bb8 100644
--- a/chrome/browser/browser_window.h
+++ b/chrome/browser/browser_window.h
@@ -169,7 +169,7 @@ class BrowserWindowTesting {
public:
#if defined(OS_WIN)
// Returns the BookmarkBarView.
- virtual BookmarkBarView* GetBookmarkBarView() = 0;
+ virtual BookmarkBarView* GetBookmarkBarView() const = 0;
// Returns the LocationBarView.
virtual LocationBarView* GetLocationBarView() const = 0;