summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/frame/browser_frame.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/views/frame/browser_frame.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/views/frame/browser_frame.h')
-rw-r--r--chrome/browser/views/frame/browser_frame.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/views/frame/browser_frame.h b/chrome/browser/views/frame/browser_frame.h
index 28dd275..ee908b5 100644
--- a/chrome/browser/views/frame/browser_frame.h
+++ b/chrome/browser/views/frame/browser_frame.h
@@ -42,6 +42,7 @@ class BrowserFrame {
// Returns the views::Window associated with this frame.
virtual views::Window* GetWindow() = 0;
+ virtual const views::Window* GetWindow() const = 0;
enum FrameType {
FRAMETYPE_OPAQUE,