summaryrefslogtreecommitdiffstats
path: root/content
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 /content
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 'content')
-rw-r--r--content/browser/tab_contents/navigation_controller_unittest.cc1
-rw-r--r--content/browser/tab_contents/tab_contents.cc6
-rw-r--r--content/browser/tab_contents/tab_contents.h3
-rw-r--r--content/browser/tab_contents/tab_contents_delegate.h4
4 files changed, 0 insertions, 14 deletions
diff --git a/content/browser/tab_contents/navigation_controller_unittest.cc b/content/browser/tab_contents/navigation_controller_unittest.cc
index 53c6507..1634438 100644
--- a/content/browser/tab_contents/navigation_controller_unittest.cc
+++ b/content/browser/tab_contents/navigation_controller_unittest.cc
@@ -173,7 +173,6 @@ class TestTabContentsDelegate : public TabContentsDelegate {
virtual void LoadingStateChanged(TabContents* source) {}
virtual void CloseContents(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:
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index 4aec4bc..3b4d4a9 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -1006,12 +1006,6 @@ bool TabContents::ShouldShowBookmarkBar() {
false : render_manager_.web_ui()->force_bookmark_bar_visible();
}
-void TabContents::ToolbarSizeChanged(bool is_animating) {
- TabContentsDelegate* d = delegate();
- if (d)
- d->ToolbarSizeChanged(this, is_animating);
-}
-
bool TabContents::CanDownload(int request_id) {
TabContentsDelegate* d = delegate();
if (d)
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h
index b97a4cb..73dd143 100644
--- a/content/browser/tab_contents/tab_contents.h
+++ b/content/browser/tab_contents/tab_contents.h
@@ -436,9 +436,6 @@ class TabContents : public PageNavigator,
// Notifies the delegate that a download started.
void OnStartDownload(DownloadItem* download);
- // Notify our delegate that some of our content has animated.
- void ToolbarSizeChanged(bool is_animating);
-
// Called when a ConstrainedWindow we own is about to be closed.
void WillClose(ConstrainedWindow* window);
diff --git a/content/browser/tab_contents/tab_contents_delegate.h b/content/browser/tab_contents/tab_contents_delegate.h
index d47aac7..8995deb 100644
--- a/content/browser/tab_contents/tab_contents_delegate.h
+++ b/content/browser/tab_contents/tab_contents_delegate.h
@@ -118,10 +118,6 @@ class TabContentsDelegate : public AutomationResourceRoutingDelegate {
// Invoked prior to the TabContents showing a constrained window.
virtual void WillShowConstrainedWindow(TabContents* source);
- // Notification that some of our content has changed size as
- // part of an animation.
- virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) = 0;
-
// Notification that the target URL has changed.
virtual void UpdateTargetURL(TabContents* source, const GURL& url) = 0;