Chromium Code Reviews| 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 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1390 bool /* result */) | 1390 bool /* result */) |
| 1391 | 1391 |
| 1392 | 1392 |
| 1393 // This message requests the cookie be deleted for given url in the | 1393 // This message requests the cookie be deleted for given url in the |
| 1394 // profile of the tab identified by the first parameter. The second | 1394 // profile of the tab identified by the first parameter. The second |
| 1395 // parameter is the cookie name. | 1395 // parameter is the cookie name. |
| 1396 IPC_SYNC_MESSAGE_ROUTED3_1(AutomationMsg_DeleteCookie, GURL, std::string, | 1396 IPC_SYNC_MESSAGE_ROUTED3_1(AutomationMsg_DeleteCookie, GURL, std::string, |
| 1397 int /* tab handle */, | 1397 int /* tab handle */, |
| 1398 bool /* result */) | 1398 bool /* result */) |
| 1399 | 1399 |
| 1400 // This message requests information about whether the given content type was | |
| 1401 // blocked in the tab identifier by the first parameter. | |
| 1402 IPC_SYNC_MESSAGE_ROUTED2_2(AutomationMsg_IsContentBlocked, | |
|
Paweł Hajdan Jr.
2010/11/25 17:59:41
Always add new automation messages at the end of t
| |
| 1403 int /* tab handle */, | |
| 1404 ContentSettingsType /* content type */, | |
| 1405 bool /* is blocked */, | |
| 1406 bool /* request successful */) | |
| 1407 | |
| 1408 // This message requests information about whether the given content type was | |
| 1409 // accessed in the tab identifier by the first parameter. | |
| 1410 IPC_SYNC_MESSAGE_ROUTED2_2(AutomationMsg_IsContentAccessed, | |
| 1411 int /* tab handle */, | |
| 1412 ContentSettingsType /* content type */, | |
| 1413 bool /* is accessed */, | |
| 1414 bool /* request successful */) | |
| 1415 | |
| 1400 // This message triggers the collected cookies dialog for a specific tab. | 1416 // This message triggers the collected cookies dialog for a specific tab. |
| 1401 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_ShowCollectedCookiesDialog, | 1417 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_ShowCollectedCookiesDialog, |
| 1402 int /* tab handle */, | 1418 int /* tab handle */, |
| 1403 bool /* result */) | 1419 bool /* result */) |
| 1404 | 1420 |
| 1405 // This message requests the external tab identified by the tab handle | 1421 // This message requests the external tab identified by the tab handle |
| 1406 // passed in be closed. | 1422 // passed in be closed. |
| 1407 // Request: | 1423 // Request: |
| 1408 // -int: Tab handle | 1424 // -int: Tab handle |
| 1409 // Response: | 1425 // Response: |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1451 // view, and saves the image as a PNG in the given file location. | 1467 // view, and saves the image as a PNG in the given file location. |
| 1452 // Request: | 1468 // Request: |
| 1453 // -int: Tab handle | 1469 // -int: Tab handle |
| 1454 // -FilePath: Path to save the captured image to | 1470 // -FilePath: Path to save the captured image to |
| 1455 // Response: | 1471 // Response: |
| 1456 // -bool: Whether the method succeeded | 1472 // -bool: Whether the method succeeded |
| 1457 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_CaptureEntirePageAsPNG, int, | 1473 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_CaptureEntirePageAsPNG, int, |
| 1458 FilePath, bool) | 1474 FilePath, bool) |
| 1459 | 1475 |
| 1460 IPC_END_MESSAGES(Automation) | 1476 IPC_END_MESSAGES(Automation) |
| OLD | NEW |