Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2342)

Unified Diff: chrome/test/automation/automation_messages_internal.h

Issue 99268: Making CloseWindow and CloseTab automation API... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/automation/automation_messages_internal.h
===================================================================
--- chrome/test/automation/automation_messages_internal.h (revision 14951)
+++ chrome/test/automation/automation_messages_internal.h (working copy)
@@ -895,4 +895,14 @@
// The return value contains the index, which will be -1 on failure.
IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_TabIndex, int, int)
+ // This message requests the handle (int64 app-unique identifier) of
+ // a valid normal browser window, i.e. normal type and non-incognito mode.
+ // On error, the returned handle value is 0.
+ IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_FindNormalBrowserWindow, int)
+
+ // This message requests the number of normal browser windows, i.e. normal
+ // type and non-incognito mode that the app currently has open. The return
+ // value is the number of windows.
+ IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_NormalBrowserWindowCount, int)
+
IPC_END_MESSAGES(Automation)

Powered by Google App Engine
This is Rietveld 408576698