diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-12 23:10:41 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-12 23:10:41 +0000 |
commit | 21e302e7fa304b061e67ba773a0dec4c4413c4b0 (patch) | |
tree | a4d59a9932e9d52479e36ca23a2f1d2878fc4cca /chrome/browser/external_tab_container.cc | |
parent | ddb150c979fd01fcef2ce5a6c02a319f8b6213e2 (diff) | |
download | chromium_src-21e302e7fa304b061e67ba773a0dec4c4413c4b0.zip chromium_src-21e302e7fa304b061e67ba773a0dec4c4413c4b0.tar.gz chromium_src-21e302e7fa304b061e67ba773a0dec4c4413c4b0.tar.bz2 |
Support the View Page Info option in the ExternalTabContainer, which would allow this to work in external
automation clients.
This fixes bug http://b/issue?id=2093098
Bug=2093098
Review URL: http://codereview.chromium.org/192080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26085 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container.cc')
-rw-r--r-- | chrome/browser/external_tab_container.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc index 94cfc27..b478f14 100644 --- a/chrome/browser/external_tab_container.cc +++ b/chrome/browser/external_tab_container.cc @@ -13,6 +13,7 @@ #include "chrome/browser/automation/automation_provider.h" #include "chrome/browser/browser_window.h" #include "chrome/browser/load_notification_details.h" +#include "chrome/browser/page_info_window.h" #include "chrome/browser/profile.h" #include "chrome/browser/tab_contents/provisional_load_details.h" #include "chrome/browser/views/tab_contents/render_view_context_menu_external_win.h" @@ -22,8 +23,8 @@ #include "chrome/common/chrome_constants.h" #include "chrome/common/notification_service.h" #include "chrome/test/automation/automation_messages.h" - #include "grit/generated_resources.h" +#include "views/window/window.h" static const wchar_t kWindowObjectKey[] = L"ChromeWindowObject"; @@ -376,6 +377,14 @@ bool ExternalTabContainer::TakeFocus(bool reverse) { return true; } +void ExternalTabContainer::ShowPageInfo(Profile* profile, + const GURL& url, + const NavigationEntry::SSLStatus& ssl, + bool show_history) { + browser::ShowPageInfo(GetNativeView(), profile, url, ssl, + show_history); +} + bool ExternalTabContainer::HandleContextMenu(const ContextMenuParams& params) { if (!automation_) { NOTREACHED(); |