| 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 1143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1154 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_InstallExtension, | 1154 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_InstallExtension, |
| 1155 FilePath /* full path to crx file */, | 1155 FilePath /* full path to crx file */, |
| 1156 AutomationMsg_ExtensionResponseValues) | 1156 AutomationMsg_ExtensionResponseValues) |
| 1157 | 1157 |
| 1158 // Silently load the extension in the given directory. This expects an | 1158 // Silently load the extension in the given directory. This expects an |
| 1159 // extension expanded into the directory, not a crx file. | 1159 // extension expanded into the directory, not a crx file. |
| 1160 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_LoadExpandedExtension, | 1160 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_LoadExpandedExtension, |
| 1161 FilePath /* root directory of extension */, | 1161 FilePath /* root directory of extension */, |
| 1162 AutomationMsg_ExtensionResponseValues) | 1162 AutomationMsg_ExtensionResponseValues) |
| 1163 | 1163 |
| 1164 // Retrieves a list of the root directories of all enabled extensions. | 1164 // Retrieves a list of the root directories of all enabled extensions |
| 1165 // that have been installed into Chrome by dropping a .crx file onto |
| 1166 // Chrome or an equivalent action. Other types of extensions are not |
| 1167 // included on the list (e.g. "component" extensions, "external" |
| 1168 // extensions or extensions loaded via --load-extension since the first |
| 1169 // two are generally not useful for testing (e.g. an external extension |
| 1170 // could mess with an automated test if it's present on some systems only) |
| 1171 // and the last would generally be explicitly loaded by tests. |
| 1165 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_GetEnabledExtensions, | 1172 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_GetEnabledExtensions, |
| 1166 std::vector<FilePath>) | 1173 std::vector<FilePath>) |
| 1167 | 1174 |
| 1168 // This message requests the type of the window with the given handle. The | 1175 // This message requests the type of the window with the given handle. The |
| 1169 // return value contains the type (Browser::Type), or -1 if the request | 1176 // return value contains the type (Browser::Type), or -1 if the request |
| 1170 // failed. | 1177 // failed. |
| 1171 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_Type, int, int) | 1178 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_Type, int, int) |
| 1172 | 1179 |
| 1173 // Opens a new browser window of a specific type. | 1180 // Opens a new browser window of a specific type. |
| 1174 IPC_SYNC_MESSAGE_ROUTED2_0(AutomationMsg_OpenNewBrowserWindowOfType, | 1181 IPC_SYNC_MESSAGE_ROUTED2_0(AutomationMsg_OpenNewBrowserWindowOfType, |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1275 int /* browser_handle */, | 1282 int /* browser_handle */, |
| 1276 int64 /* id */, | 1283 int64 /* id */, |
| 1277 GURL /* url */, | 1284 GURL /* url */, |
| 1278 bool /* success */) | 1285 bool /* success */) |
| 1279 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_RemoveBookmark, | 1286 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_RemoveBookmark, |
| 1280 int /* browser_handle */, | 1287 int /* browser_handle */, |
| 1281 int64 /* id */, | 1288 int64 /* id */, |
| 1282 bool /* success */) | 1289 bool /* success */) |
| 1283 | 1290 |
| 1284 IPC_END_MESSAGES(Automation) | 1291 IPC_END_MESSAGES(Automation) |
| OLD | NEW |