Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Side by Side Diff: chrome/common/automation_messages_internal.h

Issue 4200007: Refactor automation messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chrome_frame no longer depends on tab_contents.h Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/automation_messages.cc ('k') | chrome/common/page_type.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 SecurityStyle, 604 SecurityStyle,
605 int, 605 int,
606 int) 606 int)
607 607
608 // This message requests the page type of the page displayed in the specified 608 // This message requests the page type of the page displayed in the specified
609 // tab (normal, error or interstitial). 609 // tab (normal, error or interstitial).
610 // Request: 610 // Request:
611 // - int: handle of the tab 611 // - int: handle of the tab
612 // Response: 612 // Response:
613 // - bool: whether the operation was successful. 613 // - bool: whether the operation was successful.
614 // - NavigationEntry::PageType: the type of the page currently displayed. 614 // - PageType: the type of the page currently displayed.
615 IPC_SYNC_MESSAGE_ROUTED1_2(AutomationMsg_GetPageType, int, bool, 615 IPC_SYNC_MESSAGE_ROUTED1_2(AutomationMsg_GetPageType, int, bool, PageType)
616 NavigationEntry::PageType)
617 616
618 // This message simulates the user action on the SSL blocking page showing in 617 // This message simulates the user action on the SSL blocking page showing in
619 // the specified tab. This message is only effective if an interstitial page 618 // the specified tab. This message is only effective if an interstitial page
620 // is showing in the tab. 619 // is showing in the tab.
621 // Request: 620 // Request:
622 // - int: handle of the tab 621 // - int: handle of the tab
623 // - bool: whether to proceed or abort the navigation 622 // - bool: whether to proceed or abort the navigation
624 // Response: 623 // Response:
625 // - AutomationMsg_NavigationResponseValues: result of the operation. 624 // - AutomationMsg_NavigationResponseValues: result of the operation.
626 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_ActionOnSSLBlockingPage, int, bool, 625 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_ActionOnSSLBlockingPage, int, bool,
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 // |chrome_locale| will contain the locale as reported by ICU. On failure 944 // |chrome_locale| will contain the locale as reported by ICU. On failure
946 // |chrome_locale| is the empty string. 945 // |chrome_locale| is the empty string.
947 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_GetBrowserLocale, 946 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_GetBrowserLocale,
948 string16 /* chrome_locale */) 947 string16 /* chrome_locale */)
949 948
950 #if defined(OS_WIN) 949 #if defined(OS_WIN)
951 IPC_MESSAGE_ROUTED4(AutomationMsg_ForwardContextMenuToExternalHost, 950 IPC_MESSAGE_ROUTED4(AutomationMsg_ForwardContextMenuToExternalHost,
952 int /* tab_handle */, 951 int /* tab_handle */,
953 HANDLE /* source menu handle */, 952 HANDLE /* source menu handle */,
954 int /* align flags */, 953 int /* align flags */,
955 IPC::ContextMenuParams /* params */) 954 IPC::MiniContextMenuParams /* params */)
956 955
957 IPC_MESSAGE_ROUTED2(AutomationMsg_ForwardContextMenuCommandToChrome, 956 IPC_MESSAGE_ROUTED2(AutomationMsg_ForwardContextMenuCommandToChrome,
958 int /* tab_handle */, 957 int /* tab_handle */,
959 int /* selected_command */) 958 int /* selected_command */)
960 #endif // OS_WIN 959 #endif // OS_WIN
961 960
962 // A URL request to be fetched via automation 961 // A URL request to be fetched via automation
963 IPC_MESSAGE_ROUTED3(AutomationMsg_RequestStart, 962 IPC_MESSAGE_ROUTED3(AutomationMsg_RequestStart,
964 int /* tab_handle */, 963 int /* tab_handle */,
965 int /* request_id */, 964 int /* request_id */,
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
1440 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_WaitForAutocompleteEditFocus, 1439 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_WaitForAutocompleteEditFocus,
1441 int /* autocomplete edit handle */, 1440 int /* autocomplete edit handle */,
1442 bool /* success */) 1441 bool /* success */)
1443 1442
1444 // Loads all blocked plug-ins on the page. 1443 // Loads all blocked plug-ins on the page.
1445 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_LoadBlockedPlugins, 1444 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_LoadBlockedPlugins,
1446 int /* tab handle */, 1445 int /* tab handle */,
1447 bool /* success */) 1446 bool /* success */)
1448 1447
1449 IPC_END_MESSAGES(Automation) 1448 IPC_END_MESSAGES(Automation)
OLDNEW
« no previous file with comments | « chrome/common/automation_messages.cc ('k') | chrome/common/page_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698