summaryrefslogtreecommitdiffstats
path: root/chrome/browser/external_tab_container.h
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-24 21:21:48 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-24 21:21:48 +0000
commit0e8db94aef1b57355c3d154cb4682ce2f94c51eb (patch)
treea6290715d64cf7da39ce82005d3f6121a40ee85e /chrome/browser/external_tab_container.h
parent14e81bfe528c0d79ba82a9326a7071a1daa101ed (diff)
downloadchromium_src-0e8db94aef1b57355c3d154cb4682ce2f94c51eb.zip
chromium_src-0e8db94aef1b57355c3d154cb4682ce2f94c51eb.tar.gz
chromium_src-0e8db94aef1b57355c3d154cb4682ce2f94c51eb.tar.bz2
Remove DidNavigate from the tab contents delegate and all the related plumbing.
I added additional information to the regular load commit notification so all interested parties can listen for that instead. I removed the old navigation type enum, and replaced it with the enum from the NavigationController, so it's now public. Review URL: http://codereview.chromium.org/3112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2573 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container.h')
-rw-r--r--chrome/browser/external_tab_container.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/external_tab_container.h b/chrome/browser/external_tab_container.h
index 6cc1160..b0f4909 100644
--- a/chrome/browser/external_tab_container.h
+++ b/chrome/browser/external_tab_container.h
@@ -13,6 +13,7 @@
#include "base/basictypes.h"
#include "chrome/browser/tab_contents_delegate.h"
#include "chrome/common/chrome_constants.h"
+#include "chrome/common/notification_registrar.h"
#include "chrome/common/notification_service.h"
#include "chrome/views/focus_manager.h"
#include "chrome/views/root_view.h"
@@ -77,8 +78,6 @@ class ExternalTabContainer : public TabContentsDelegate,
virtual void UpdateTargetURL(TabContents* source, const GURL& url);
virtual void ContentsZoomChange(bool zoom_in);
virtual void ToolbarSizeChanged(TabContents* source, bool is_animating);
- virtual void DidNavigate(NavigationType nav_type,
- int relative_navigation_offet);
virtual void ForwardMessageToExternalHost(const std::string& receiver,
const std::string& message);
@@ -132,6 +131,9 @@ class ExternalTabContainer : public TabContentsDelegate,
protected:
TabContents *tab_contents_;
AutomationProvider* automation_;
+
+ NotificationRegistrar registrar_;
+
// Root view
ChromeViews::RootView root_view_;
// The accelerator table of the external host.