OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 1306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1317 // Generic pyauto pattern to help avoid future addition of | 1317 // Generic pyauto pattern to help avoid future addition of |
1318 // automation messages. | 1318 // automation messages. |
1319 IPC_SYNC_MESSAGE_ROUTED2_2(AutomationMsg_SendJSONRequest, | 1319 IPC_SYNC_MESSAGE_ROUTED2_2(AutomationMsg_SendJSONRequest, |
1320 int /* browser_handle */, | 1320 int /* browser_handle */, |
1321 std::string /* JSON request */, | 1321 std::string /* JSON request */, |
1322 std::string /* JSON response */, | 1322 std::string /* JSON response */, |
1323 bool /* success */) | 1323 bool /* success */) |
1324 | 1324 |
1325 // Installs an extension from the crx file and returns its id. | 1325 // Installs an extension from the crx file and returns its id. |
1326 // On error, |extension handle| will be 0. | 1326 // On error, |extension handle| will be 0. |
1327 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_InstallExtensionAndGetHandle, | 1327 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_InstallExtensionAndGetHandle, |
1328 FilePath /* full path to crx file */, | 1328 FilePath /* full path to crx file */, |
1329 bool /* with UI */, | |
1330 int /* extension handle */) | 1329 int /* extension handle */) |
1331 | 1330 |
1332 // Waits for the next extension test result. Sets |test result| as the | 1331 // Waits for the next extension test result. Sets |test result| as the |
1333 // received result and |message| as any accompanying message with the | 1332 // received result and |message| as any accompanying message with the |
1334 // result, which could be the empty string. | 1333 // result, which could be the empty string. |
1335 IPC_SYNC_MESSAGE_ROUTED0_2(AutomationMsg_WaitForExtensionTestResult, | 1334 IPC_SYNC_MESSAGE_ROUTED0_2(AutomationMsg_WaitForExtensionTestResult, |
1336 bool /* test result */, | 1335 bool /* test result */, |
1337 std::string /* message */) | 1336 std::string /* message */) |
1338 | 1337 |
1339 // Uninstalls an extension. On success |success| is true. | 1338 // Uninstalls an extension. On success |success| is true. |
(...skipping 28 matching lines...) Expand all Loading... |
1368 bool /* success */) | 1367 bool /* success */) |
1369 | 1368 |
1370 // Gets an extension property |property type|. On success |success| is true, | 1369 // Gets an extension property |property type|. On success |success| is true, |
1371 // and |property value| is set. | 1370 // and |property value| is set. |
1372 IPC_SYNC_MESSAGE_ROUTED2_2(AutomationMsg_GetExtensionProperty, | 1371 IPC_SYNC_MESSAGE_ROUTED2_2(AutomationMsg_GetExtensionProperty, |
1373 int /* extension handle */, | 1372 int /* extension handle */, |
1374 AutomationMsg_ExtensionProperty /* property type */, | 1373 AutomationMsg_ExtensionProperty /* property type */, |
1375 bool /* success */, | 1374 bool /* success */, |
1376 std::string /* property value */) | 1375 std::string /* property value */) |
1377 | 1376 |
1378 // Resets to the default theme. | |
1379 IPC_SYNC_MESSAGE_ROUTED0_0(AutomationMsg_ResetToDefaultTheme) | |
1380 | |
1381 IPC_END_MESSAGES(Automation) | 1377 IPC_END_MESSAGES(Automation) |
OLD | NEW |