summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/automation_messages_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/automation/automation_messages_internal.h')
-rw-r--r--chrome/test/automation/automation_messages_internal.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/chrome/test/automation/automation_messages_internal.h b/chrome/test/automation/automation_messages_internal.h
index d6a321a8..4d19a89 100644
--- a/chrome/test/automation/automation_messages_internal.h
+++ b/chrome/test/automation/automation_messages_internal.h
@@ -795,11 +795,16 @@ IPC_BEGIN_MESSAGES(Automation, 0)
// This messages sets an int-value preference.
IPC_MESSAGE_ROUTED3(AutomationMsg_SetIntPreferenceRequest,
- int /* browser handle */,
+ int /* browser handle */,
std::wstring /* pref name */,
int /* value */)
IPC_MESSAGE_ROUTED1(AutomationMsg_SetIntPreferenceResponse,
bool /* success */)
-IPC_END_MESSAGES(Automation)
+ // Queries whether an app modal dialog is currently being shown. (i.e. a
+ // javascript alert).
+ IPC_MESSAGE_ROUTED0(AutomationMsg_ShowingAppModalDialogRequest)
+ IPC_MESSAGE_ROUTED1(AutomationMsg_ShowingAppModalDialogResponse,
+ bool /* showing dialog */)
+IPC_END_MESSAGES(Automation)