diff options
author | amit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-19 23:14:26 +0000 |
---|---|---|
committer | amit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-19 23:14:26 +0000 |
commit | 4150ef026218967e259f7b70cce5739afb12f475 (patch) | |
tree | b416b3900afe8155fdce8817febde568527ac368 /chrome/browser/external_tab_container.h | |
parent | 802629d5d0b0aaafa00c94c5b39f5b7290723a32 (diff) | |
download | chromium_src-4150ef026218967e259f7b70cce5739afb12f475.zip chromium_src-4150ef026218967e259f7b70cce5739afb12f475.tar.gz chromium_src-4150ef026218967e259f7b70cce5739afb12f475.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/external_tab_container.h')
-rw-r--r-- | chrome/browser/external_tab_container.h | 8 |
1 files changed, 8 insertions, 0 deletions
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. |