summaryrefslogtreecommitdiffstats
path: root/chrome/browser/instant
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-15 23:28:19 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-15 23:28:19 +0000
commitc9bd2e8e19e8c5891d68e99b4c610c04a62046a0 (patch)
tree689e7d832227bd431aadd4698807edb246030fc8 /chrome/browser/instant
parent97e521cba140ce053f33dd3e852e847c76781689 (diff)
downloadchromium_src-c9bd2e8e19e8c5891d68e99b4c610c04a62046a0.zip
chromium_src-c9bd2e8e19e8c5891d68e99b4c610c04a62046a0.tar.gz
chromium_src-c9bd2e8e19e8c5891d68e99b4c610c04a62046a0.tar.bz2
Remove the TabContentsDelegate::ToolbarSizeChanged() method as no one was using it. Rename BrowserWindow::SelectedTabToolbarSizeChanged() to ToolbarSizeChanged() as there are no per-tab toolbars since we made the DownloadShelf per-window a while ago.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6870002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81834 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/instant')
-rw-r--r--chrome/browser/instant/instant_loader.cc7
-rw-r--r--chrome/browser/instant/instant_unload_handler.cc1
2 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc
index 5e8a032..c9ac786 100644
--- a/chrome/browser/instant/instant_loader.cc
+++ b/chrome/browser/instant/instant_loader.cc
@@ -192,8 +192,6 @@ class InstantLoader::TabContentsDelegateImpl
const gfx::Rect& pos) OVERRIDE;
virtual bool ShouldFocusConstrainedWindow() OVERRIDE;
virtual void WillShowConstrainedWindow(TabContents* source) OVERRIDE;
- virtual void ToolbarSizeChanged(TabContents* source,
- bool is_animating) OVERRIDE;
virtual void UpdateTargetURL(TabContents* source,
const GURL& url) OVERRIDE;
virtual bool ShouldSuppressDialogs() OVERRIDE;
@@ -479,11 +477,6 @@ void InstantLoader::TabContentsDelegateImpl::WillShowConstrainedWindow(
}
}
-void InstantLoader::TabContentsDelegateImpl::ToolbarSizeChanged(
- TabContents* source,
- bool is_animating) {
-}
-
void InstantLoader::TabContentsDelegateImpl::UpdateTargetURL(
TabContents* source, const GURL& url) {
}
diff --git a/chrome/browser/instant/instant_unload_handler.cc b/chrome/browser/instant/instant_unload_handler.cc
index ab804b3..fd2a1a0 100644
--- a/chrome/browser/instant/instant_unload_handler.cc
+++ b/chrome/browser/instant/instant_unload_handler.cc
@@ -68,7 +68,6 @@ class InstantUnloadHandler::TabContentsDelegateImpl
virtual void DeactivateContents(TabContents* contents) {}
virtual void LoadingStateChanged(TabContents* source) {}
virtual void MoveContents(TabContents* source, const gfx::Rect& pos) {}
- virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) {}
virtual void UpdateTargetURL(TabContents* source, const GURL& url) {}
private: