| 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 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 856 | 856 |
| 857 // Generic pyauto pattern to help avoid future addition of | 857 // Generic pyauto pattern to help avoid future addition of |
| 858 // automation messages. | 858 // automation messages. |
| 859 IPC_SYNC_MESSAGE_CONTROL2_2(AutomationMsg_SendJSONRequestWithBrowserHandle, | 859 IPC_SYNC_MESSAGE_CONTROL2_2(AutomationMsg_SendJSONRequestWithBrowserHandle, |
| 860 int /* browser_handle */, | 860 int /* browser_handle */, |
| 861 std::string /* JSON request */, | 861 std::string /* JSON request */, |
| 862 std::string /* JSON response */, | 862 std::string /* JSON response */, |
| 863 bool /* success */) | 863 bool /* success */) |
| 864 | 864 |
| 865 // Resets to the default theme. | 865 // Resets to the default theme. |
| 866 IPC_SYNC_MESSAGE_CONTROL0_0(AutomationMsg_DEPRECIATED_ResetToDefaultTheme) | 866 IPC_SYNC_MESSAGE_CONTROL0_0(AutomationMsg_DEPRECATED_ResetToDefaultTheme) |
| 867 | 867 |
| 868 // This message requests the external tab identified by the tab handle | 868 // This message requests the external tab identified by the tab handle |
| 869 // passed in be closed. | 869 // passed in be closed. |
| 870 // Request: | 870 // Request: |
| 871 // Response: | 871 // Response: |
| 872 // None expected | 872 // None expected |
| 873 IPC_MESSAGE_ROUTED0(AutomationMsg_CloseExternalTab) | 873 IPC_MESSAGE_ROUTED0(AutomationMsg_CloseExternalTab) |
| 874 | 874 |
| 875 // This message requests that the external tab identified by the tab handle | 875 // This message requests that the external tab identified by the tab handle |
| 876 // runs unload handlers if any on the current page. | 876 // runs unload handlers if any on the current page. |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 950 IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_GetMachPortCount, | 950 IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_GetMachPortCount, |
| 951 int /* number of Mach ports */) | 951 int /* number of Mach ports */) |
| 952 | 952 |
| 953 // Generic pyauto pattern to help avoid future addition of | 953 // Generic pyauto pattern to help avoid future addition of |
| 954 // automation messages. | 954 // automation messages. |
| 955 IPC_SYNC_MESSAGE_CONTROL2_2(AutomationMsg_SendJSONRequest, | 955 IPC_SYNC_MESSAGE_CONTROL2_2(AutomationMsg_SendJSONRequest, |
| 956 int /* window_index */, | 956 int /* window_index */, |
| 957 std::string /* JSON request */, | 957 std::string /* JSON request */, |
| 958 std::string /* JSON response */, | 958 std::string /* JSON response */, |
| 959 bool /* success */) | 959 bool /* success */) |
| OLD | NEW |