diff options
Diffstat (limited to 'chrome/test/automation/automation_messages_internal.h')
-rw-r--r-- | chrome/test/automation/automation_messages_internal.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/chrome/test/automation/automation_messages_internal.h b/chrome/test/automation/automation_messages_internal.h index 64ee503..6709e4d 100644 --- a/chrome/test/automation/automation_messages_internal.h +++ b/chrome/test/automation/automation_messages_internal.h @@ -160,7 +160,7 @@ IPC_BEGIN_MESSAGES(Automation, 0) IPC_MESSAGE_ROUTED1(AutomationMsg_TabTitleRequest, int) IPC_MESSAGE_ROUTED2(AutomationMsg_TabTitleResponse, int, std::wstring) - // This message requests the the url of the tab with the given handle. + // This message requests the url of the tab with the given handle. // The response contains a success flag and the URL string. The URL will // be empty on failure, and it still may be empty on success. IPC_MESSAGE_ROUTED1(AutomationMsg_TabURLRequest, @@ -177,6 +177,16 @@ IPC_BEGIN_MESSAGES(Automation, 0) IPC_MESSAGE_ROUTED1(AutomationMsg_WindowHWNDResponse, HWND /* Win32 handle */) + // This message requests the execution of a browser command in the browser + // for which the handle is specified. + // The response contains a boolean, whether the command execution was + // successful. + IPC_MESSAGE_ROUTED2(AutomationMsg_WindowExecuteCommandRequest, + int /* automation handle */, + int /* browser command */) + IPC_MESSAGE_ROUTED1(AutomationMsg_WindowExecuteCommandResponse, + bool /* success flag */) + // This message notifies the AutomationProxy that a handle that it has // previously been given is now invalid. (For instance, if the handle // represented a window which has now been closed.) The parameter |