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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 int, | 606 int, |
607 int) | 607 int) |
608 | 608 |
609 // This message requests the page type of the page displayed in the specified | 609 // This message requests the page type of the page displayed in the specified |
610 // tab (normal, error or interstitial). | 610 // tab (normal, error or interstitial). |
611 // Request: | 611 // Request: |
612 // - int: handle of the tab | 612 // - int: handle of the tab |
613 // Response: | 613 // Response: |
614 // - bool: whether the operation was successful. | 614 // - bool: whether the operation was successful. |
615 // - PageType: the type of the page currently displayed. | 615 // - PageType: the type of the page currently displayed. |
616 IPC_SYNC_MESSAGE_ROUTED1_2(AutomationMsg_GetPageType, int, bool, | 616 IPC_SYNC_MESSAGE_ROUTED1_2(AutomationMsg_GetPageType, int, bool, PageType) |
617 NavigationEntry::PageType) | |
618 | 617 |
619 // This message simulates the user action on the SSL blocking page showing in | 618 // This message simulates the user action on the SSL blocking page showing in |
620 // the specified tab. This message is only effective if an interstitial page | 619 // the specified tab. This message is only effective if an interstitial page |
621 // is showing in the tab. | 620 // is showing in the tab. |
622 // Request: | 621 // Request: |
623 // - int: handle of the tab | 622 // - int: handle of the tab |
624 // - bool: whether to proceed or abort the navigation | 623 // - bool: whether to proceed or abort the navigation |
625 // Response: | 624 // Response: |
626 // - AutomationMsg_NavigationResponseValues: result of the operation. | 625 // - AutomationMsg_NavigationResponseValues: result of the operation. |
627 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_ActionOnSSLBlockingPage, int, bool, | 626 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_ActionOnSSLBlockingPage, int, bool, |
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1442 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_WaitForAutocompleteEditFocus, | 1441 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_WaitForAutocompleteEditFocus, |
1443 int /* autocomplete edit handle */, | 1442 int /* autocomplete edit handle */, |
1444 bool /* success */) | 1443 bool /* success */) |
1445 | 1444 |
1446 // Loads all blocked plug-ins on the page. | 1445 // Loads all blocked plug-ins on the page. |
1447 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_LoadBlockedPlugins, | 1446 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_LoadBlockedPlugins, |
1448 int /* tab handle */, | 1447 int /* tab handle */, |
1449 bool /* success */) | 1448 bool /* success */) |
1450 | 1449 |
1451 IPC_END_MESSAGES(Automation) | 1450 IPC_END_MESSAGES(Automation) |
OLD | NEW |