summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/automation_messages_internal.h
diff options
context:
space:
mode:
authorjoshia@google.com <joshia@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-28 21:50:39 +0000
committerjoshia@google.com <joshia@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-28 21:50:39 +0000
commit31fb110528230784dc006c182edfa1003a2b9be8 (patch)
tree1643403af67a179f2439ca565f203f5a2c780872 /chrome/test/automation/automation_messages_internal.h
parent875ac10e1efb37bff2182aa82e4da47830c09a6b (diff)
downloadchromium_src-31fb110528230784dc006c182edfa1003a2b9be8.zip
chromium_src-31fb110528230784dc006c182edfa1003a2b9be8.tar.gz
chromium_src-31fb110528230784dc006c182edfa1003a2b9be8.tar.bz2
Better control over window creation of external tabs
Improving automation interface to offer better control over window creation of external tabs. The changes allow us to specify a parent window, initial size and window style. Review URL: http://codereview.chromium.org/19048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8828 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/automation_messages_internal.h')
-rw-r--r--chrome/test/automation/automation_messages_internal.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/chrome/test/automation/automation_messages_internal.h b/chrome/test/automation/automation_messages_internal.h
index 8005606..a22818c 100644
--- a/chrome/test/automation/automation_messages_internal.h
+++ b/chrome/test/automation/automation_messages_internal.h
@@ -442,11 +442,17 @@ IPC_BEGIN_MESSAGES(Automation, 0)
// TODO(port): Port these messages.
//
// This message notifies the AutomationProvider to create a tab which is
- // hosted by an external process. The response contains the HWND of the
- // window that contains the external tab and the handle to the newly
- // created tab
- // The second parameter is the url to be loaded in the new tab.
- IPC_MESSAGE_ROUTED0(AutomationMsg_CreateExternalTab)
+ // hosted by an external process.
+ // Request:
+ // HWND - handle to a window acting as a parent/owner for the new tab.
+ // gfx::Rect - initial dimensions.
+ // style - window style to be used at the time of cration.
+ IPC_MESSAGE_ROUTED3(AutomationMsg_CreateExternalTab,
+ HWND /* owner_or_parent*/,
+ gfx::Rect /* dimensions */,
+ unsigned int /* style */)
+ // The response contains the HWND of the window that contains the external
+ // tab and the handle to the newly created tab.
IPC_MESSAGE_ROUTED2(AutomationMsg_CreateExternalTabResponse, HWND, int)
#endif // defined(OS_WIN)