| 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 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 // active browser, or it no longer exists. Returns 0 if no browser windows | 651 // active browser, or it no longer exists. Returns 0 if no browser windows |
| 652 // exist. | 652 // exist. |
| 653 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_LastActiveBrowserWindow, int) | 653 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_LastActiveBrowserWindow, int) |
| 654 | 654 |
| 655 // This message notifies the AutomationProvider to save the page with given | 655 // This message notifies the AutomationProvider to save the page with given |
| 656 // handle. The first parameter is the handle to the tab resource. The second | 656 // handle. The first parameter is the handle to the tab resource. The second |
| 657 // parameter is the main HTML file name. The third parameter is the directory | 657 // parameter is the main HTML file name. The third parameter is the directory |
| 658 // for saving resources. The fourth parameter is the saving type: 0 for HTML | 658 // for saving resources. The fourth parameter is the saving type: 0 for HTML |
| 659 // only; 1 for complete web page. | 659 // only; 1 for complete web page. |
| 660 // The return value contains a bool which is true on success. | 660 // The return value contains a bool which is true on success. |
| 661 IPC_SYNC_MESSAGE_ROUTED4_1(AutomationMsg_SavePage, int, std::wstring, | 661 IPC_SYNC_MESSAGE_ROUTED4_1(AutomationMsg_SavePage, int, FilePath, FilePath, |
| 662 std::wstring, int, bool) | 662 int, bool) |
| 663 | 663 |
| 664 // This message requests the text currently being displayed in the | 664 // This message requests the text currently being displayed in the |
| 665 // AutocompleteEdit. The parameter is the handle to the AutocompleteEdit. | 665 // AutocompleteEdit. The parameter is the handle to the AutocompleteEdit. |
| 666 // The return value is a string indicating the text in the AutocompleteEdit. | 666 // The return value is a string indicating the text in the AutocompleteEdit. |
| 667 IPC_SYNC_MESSAGE_ROUTED1_2(AutomationMsg_AutocompleteEditGetText, | 667 IPC_SYNC_MESSAGE_ROUTED1_2(AutomationMsg_AutocompleteEditGetText, |
| 668 int /* autocomplete edit handle */, | 668 int /* autocomplete edit handle */, |
| 669 bool /* the requested autocomplete edit exists */, | 669 bool /* the requested autocomplete edit exists */, |
| 670 std::wstring /* omnibox text */) | 670 std::wstring /* omnibox text */) |
| 671 | 671 |
| 672 // This message sets the text being displayed in the AutocompleteEdit. The | 672 // This message sets the text being displayed in the AutocompleteEdit. The |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1103 | 1103 |
| 1104 // Returns whether the window is maximized. | 1104 // Returns whether the window is maximized. |
| 1105 // Request: | 1105 // Request: |
| 1106 // int - the handle of the window | 1106 // int - the handle of the window |
| 1107 // Response: | 1107 // Response: |
| 1108 // bool - true if the window is maximized | 1108 // bool - true if the window is maximized |
| 1109 // bool - true if query is successful | 1109 // bool - true if query is successful |
| 1110 IPC_SYNC_MESSAGE_ROUTED1_2(AutomationMsg_IsWindowMaximized, int, bool, bool) | 1110 IPC_SYNC_MESSAGE_ROUTED1_2(AutomationMsg_IsWindowMaximized, int, bool, bool) |
| 1111 | 1111 |
| 1112 IPC_END_MESSAGES(Automation) | 1112 IPC_END_MESSAGES(Automation) |
| OLD | NEW |