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

Side by Side Diff: chrome/test/automation/automation_messages_internal.h

Issue 4194007: Revert "Refactor automation messages." due to mysterious problems on mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
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 // - PageType: the type of the page currently displayed. 614 // - NavigationEntry::PageType: the type of the page currently displayed.
615 IPC_SYNC_MESSAGE_ROUTED1_2(AutomationMsg_GetPageType, int, bool, PageType) 615 IPC_SYNC_MESSAGE_ROUTED1_2(AutomationMsg_GetPageType, int, bool,
616 NavigationEntry::PageType)
616 617
617 // 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
618 // 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
619 // is showing in the tab. 620 // is showing in the tab.
620 // Request: 621 // Request:
621 // - int: handle of the tab 622 // - int: handle of the tab
622 // - bool: whether to proceed or abort the navigation 623 // - bool: whether to proceed or abort the navigation
623 // Response: 624 // Response:
624 // - AutomationMsg_NavigationResponseValues: result of the operation. 625 // - AutomationMsg_NavigationResponseValues: result of the operation.
625 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_ActionOnSSLBlockingPage, int, bool, 626 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_ActionOnSSLBlockingPage, int, bool,
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
944 // |chrome_locale| will contain the locale as reported by ICU. On failure 945 // |chrome_locale| will contain the locale as reported by ICU. On failure
945 // |chrome_locale| is the empty string. 946 // |chrome_locale| is the empty string.
946 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_GetBrowserLocale, 947 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_GetBrowserLocale,
947 string16 /* chrome_locale */) 948 string16 /* chrome_locale */)
948 949
949 #if defined(OS_WIN) 950 #if defined(OS_WIN)
950 IPC_MESSAGE_ROUTED4(AutomationMsg_ForwardContextMenuToExternalHost, 951 IPC_MESSAGE_ROUTED4(AutomationMsg_ForwardContextMenuToExternalHost,
951 int /* tab_handle */, 952 int /* tab_handle */,
952 HANDLE /* source menu handle */, 953 HANDLE /* source menu handle */,
953 int /* align flags */, 954 int /* align flags */,
954 IPC::MiniContextMenuParams /* params */) 955 IPC::ContextMenuParams /* params */)
955 956
956 IPC_MESSAGE_ROUTED2(AutomationMsg_ForwardContextMenuCommandToChrome, 957 IPC_MESSAGE_ROUTED2(AutomationMsg_ForwardContextMenuCommandToChrome,
957 int /* tab_handle */, 958 int /* tab_handle */,
958 int /* selected_command */) 959 int /* selected_command */)
959 #endif // OS_WIN 960 #endif // OS_WIN
960 961
961 // A URL request to be fetched via automation 962 // A URL request to be fetched via automation
962 IPC_MESSAGE_ROUTED3(AutomationMsg_RequestStart, 963 IPC_MESSAGE_ROUTED3(AutomationMsg_RequestStart,
963 int /* tab_handle */, 964 int /* tab_handle */,
964 int /* request_id */, 965 int /* request_id */,
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
1439 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_WaitForAutocompleteEditFocus, 1440 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_WaitForAutocompleteEditFocus,
1440 int /* autocomplete edit handle */, 1441 int /* autocomplete edit handle */,
1441 bool /* success */) 1442 bool /* success */)
1442 1443
1443 // Loads all blocked plug-ins on the page. 1444 // Loads all blocked plug-ins on the page.
1444 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_LoadBlockedPlugins, 1445 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_LoadBlockedPlugins,
1445 int /* tab handle */, 1446 int /* tab handle */,
1446 bool /* success */) 1447 bool /* success */)
1447 1448
1448 IPC_END_MESSAGES(Automation) 1449 IPC_END_MESSAGES(Automation)
OLDNEW
« no previous file with comments | « chrome/test/automation/automation_messages.cc ('k') | chrome/test/automation/automation_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698