From 4150ef026218967e259f7b70cce5739afb12f475 Mon Sep 17 00:00:00 2001 From: "amit@chromium.org" Date: Wed, 19 Aug 2009 23:14:26 +0000 Subject: Support navigating to absolute index through automation. Also, send more information in AutomationMsg_DidNavigate BUG=none TEST=none Review URL: http://codereview.chromium.org/165333 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23776 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/external_tab_container.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'chrome/browser/external_tab_container.h') diff --git a/chrome/browser/external_tab_container.h b/chrome/browser/external_tab_container.h index f51761a..53579af 100644 --- a/chrome/browser/external_tab_container.h +++ b/chrome/browser/external_tab_container.h @@ -11,6 +11,7 @@ #include "chrome/browser/automation/automation_profile_impl.h" #include "chrome/browser/browser.h" #include "chrome/browser/tab_contents/tab_contents_delegate.h" +#include "chrome/common/navigation_types.h" #include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "views/widget/widget_win.h" @@ -20,6 +21,10 @@ class Profile; class TabContentsContainer; class RenderViewContextMenuExternalWin; +namespace IPC { +struct NavigationInfo; +} + // This class serves as the container window for an external tab. // An external tab is a Chrome tab that is meant to displayed in an // external process. This class provides the FocusManger needed by the @@ -126,6 +131,9 @@ class ExternalTabContainer : public TabContentsDelegate, protected: // Overridden from views::WidgetWin: virtual void OnDestroy(); + void InitNavigationInfo(IPC::NavigationInfo* nav_info, + NavigationType::Type nav_type, + int relative_offset); private: // Unhook the keystroke listener and notify about the closing TabContents. -- cgit v1.1