OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Defines the IPC messages used by the automation interface. | 5 // Defines the IPC messages used by the automation interface. |
6 | 6 |
7 // This header is meant to be included in multiple passes, hence no traditional | 7 // This header is meant to be included in multiple passes, hence no traditional |
8 // header guard. | 8 // header guard. |
9 // See ipc_message_macros.h for explanation of the macros and passes. | 9 // See ipc_message_macros.h for explanation of the macros and passes. |
10 | 10 |
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 int /* automation handle */, | 888 int /* automation handle */, |
889 string16 /* title text */ ) | 889 string16 /* title text */ ) |
890 | 890 |
891 // Tab load complete | 891 // Tab load complete |
892 IPC_MESSAGE_ROUTED1(AutomationMsg_TabLoaded, GURL) | 892 IPC_MESSAGE_ROUTED1(AutomationMsg_TabLoaded, GURL) |
893 | 893 |
894 // This message requests the tabstrip index of the tab with the given handle. | 894 // This message requests the tabstrip index of the tab with the given handle. |
895 // The return value contains the index, which will be -1 on failure. | 895 // The return value contains the index, which will be -1 on failure. |
896 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_TabIndex, int, int) | 896 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_TabIndex, int, int) |
897 | 897 |
| 898 // This message requests the handle (int64 app-unique identifier) of |
| 899 // a valid normal browser window, i.e. normal type and non-incognito mode. |
| 900 // On error, the returned handle value is 0. |
| 901 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_FindNormalBrowserWindow, int) |
| 902 |
| 903 // This message requests the number of normal browser windows, i.e. normal |
| 904 // type and non-incognito mode that the app currently has open. The return |
| 905 // value is the number of windows. |
| 906 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_NormalBrowserWindowCount, int) |
| 907 |
898 IPC_END_MESSAGES(Automation) | 908 IPC_END_MESSAGES(Automation) |
OLD | NEW |