diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-26 21:56:56 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-26 21:56:56 +0000 |
commit | be04582be05890d1922a16096816e8d027b67128 (patch) | |
tree | 91d208b93a14e9c3ad66e9dd472db0be4af06e80 /chrome/browser/external_tab_container_win.h | |
parent | febc4ac3705e78f2d5f7b766352eb861f1a1efe1 (diff) | |
download | chromium_src-be04582be05890d1922a16096816e8d027b67128.zip chromium_src-be04582be05890d1922a16096816e8d027b67128.tar.gz chromium_src-be04582be05890d1922a16096816e8d027b67128.tar.bz2 |
Make IsPopup a const function per brett.
- Make TabContentsDelegate::IsPopup a const function;
- Add a default implementation for IsPopup;
- Update all derived classes;
- Remove the bad const_cast in tab_contents.cc;
BUG=none.
TEST=none. Code quality improvement and expect no changes.
Review URL: http://codereview.chromium.org/3060013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53696 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container_win.h')
-rw-r--r-- | chrome/browser/external_tab_container_win.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/external_tab_container_win.h b/chrome/browser/external_tab_container_win.h index 1d92f49..5591bd5 100644 --- a/chrome/browser/external_tab_container_win.h +++ b/chrome/browser/external_tab_container_win.h @@ -120,7 +120,6 @@ class ExternalTabContainer : public TabContentsDelegate, virtual void LoadingStateChanged(TabContents* source); virtual void CloseContents(TabContents* source); virtual void MoveContents(TabContents* source, const gfx::Rect& pos); - virtual bool IsPopup(TabContents* source); virtual void URLStarredChanged(TabContents* source, bool starred); virtual void UpdateTargetURL(TabContents* source, const GURL& url); virtual void ContentsZoomChange(bool zoom_in); |