summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-07 21:40:29 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-07 21:40:29 +0000
commite16dd167e26e02de97b9f3fdc88f2e50814cee6b (patch)
treeb6bb2e60f47119849886e6e31cc63d55fe0b6f27 /chrome/test/automation
parentcfa8f06de2c4aae71ce39b67056d6bb85c00de74 (diff)
downloadchromium_src-e16dd167e26e02de97b9f3fdc88f2e50814cee6b.zip
chromium_src-e16dd167e26e02de97b9f3fdc88f2e50814cee6b.tar.gz
chromium_src-e16dd167e26e02de97b9f3fdc88f2e50814cee6b.tar.bz2
Add Support for window.close in ChromeFrame. Currently the CloseContents notification on the TabContentsDelegate which
the ExternalTabContainer implements is ignored if the window close is not initiated from the host. Fix is to send over an automation message AutomationMsg_CloseExternalTab to the external host where we close the window. Currently this functionality is only provided by the active document. Fixes bug http://code.google.com/p/chromium/issues/detail?id=45930 Bug=45930 Test=Covered by chrome frame unit test FullTabModeIE_WindowCloseInChrome Review URL: http://codereview.chromium.org/2691004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49093 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation')
-rw-r--r--chrome/test/automation/automation_messages_internal.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/test/automation/automation_messages_internal.h b/chrome/test/automation/automation_messages_internal.h
index 4c0dafa..9e37390 100644
--- a/chrome/test/automation/automation_messages_internal.h
+++ b/chrome/test/automation/automation_messages_internal.h
@@ -1389,10 +1389,18 @@ IPC_BEGIN_MESSAGES(Automation)
bool /* result */)
- // This message requests the cookie be delete for given url in the
+ // This message requests the cookie be deleted for given url in the
// profile of the tab identified by the first parameter. The second
// parameter is the cookie name.
IPC_SYNC_MESSAGE_ROUTED3_1(AutomationMsg_DeleteCookie, GURL, std::string,
int, bool)
+ // This message requests the external tab identified by the tab handle
+ // passed in be closed.
+ // Request:
+ // -int: Tab handle
+ // Response:
+ // None expected
+ IPC_MESSAGE_ROUTED1(AutomationMsg_CloseExternalTab, int)
+
IPC_END_MESSAGES(Automation)