| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // NOTE: All IPC messages have either a routing_id of 0 (for asynchronous | 7 // NOTE: All IPC messages have either a routing_id of 0 (for asynchronous |
| 8 // messages), or one that's been assigned by the proxy (for calls | 8 // messages), or one that's been assigned by the proxy (for calls |
| 9 // which expect a response). The routing_id shouldn't be used for | 9 // which expect a response). The routing_id shouldn't be used for |
| 10 // any other purpose in these message types. | 10 // any other purpose in these message types. |
| (...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 607 // Response: | 607 // Response: |
| 608 // - bool: True if the command is enabled on the menu | 608 // - bool: True if the command is enabled on the menu |
| 609 IPC_SYNC_MESSAGE_CONTROL2_1(AutomationMsg_IsMenuCommandEnabled, | 609 IPC_SYNC_MESSAGE_CONTROL2_1(AutomationMsg_IsMenuCommandEnabled, |
| 610 int, | 610 int, |
| 611 int, | 611 int, |
| 612 bool) | 612 bool) |
| 613 | 613 |
| 614 // This message notifies the AutomationProvider to print the tab with given | 614 // This message notifies the AutomationProvider to print the tab with given |
| 615 // handle. The first parameter is the handle to the tab resource. The | 615 // handle. The first parameter is the handle to the tab resource. The |
| 616 // return value contains a bool which is true on success. | 616 // return value contains a bool which is true on success. |
| 617 IPC_SYNC_MESSAGE_CONTROL1_1(AutomationMsg_PrintNow, | 617 IPC_SYNC_MESSAGE_CONTROL1_1(AutomationMsg_DEPRECATED_PrintNow, |
| 618 int, | 618 int, |
| 619 bool) | 619 bool) |
| 620 | 620 |
| 621 // This message notifies the AutomationProvider to reload the current page in | 621 // This message notifies the AutomationProvider to reload the current page in |
| 622 // the tab with given handle. The first parameter is the handle to the tab | 622 // the tab with given handle. The first parameter is the handle to the tab |
| 623 // resource. The return value contains a status code which is nonnegative on | 623 // resource. The return value contains a status code which is nonnegative on |
| 624 // success. | 624 // success. |
| 625 // see AutomationMsg_NavigationResponseValues for the navigation response. | 625 // see AutomationMsg_NavigationResponseValues for the navigation response. |
| 626 IPC_SYNC_MESSAGE_CONTROL1_1(AutomationMsg_Reload, | 626 IPC_SYNC_MESSAGE_CONTROL1_1(AutomationMsg_Reload, |
| 627 int, | 627 int, |
| (...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1532 // Sent when the renderer has completed or canceled a client redirect for a | 1532 // Sent when the renderer has completed or canceled a client redirect for a |
| 1533 // particular frame. This message may be sent multiple times for the same | 1533 // particular frame. This message may be sent multiple times for the same |
| 1534 // redirect. | 1534 // redirect. |
| 1535 IPC_MESSAGE_ROUTED1(AutomationMsg_DidCompleteOrCancelClientRedirect, | 1535 IPC_MESSAGE_ROUTED1(AutomationMsg_DidCompleteOrCancelClientRedirect, |
| 1536 int64 /* frame_id */) | 1536 int64 /* frame_id */) |
| 1537 | 1537 |
| 1538 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE. | 1538 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE. |
| 1539 // This is the section for renderer -> browser automation messages. If it is | 1539 // This is the section for renderer -> browser automation messages. If it is |
| 1540 // an automation <-> browser message, put it above this section. The "no line | 1540 // an automation <-> browser message, put it above this section. The "no line |
| 1541 // number change" applies only to the automation <-> browser messages. | 1541 // number change" applies only to the automation <-> browser messages. |
| OLD | NEW |