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

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

Issue 155009: Make two IPC messages async. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months 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 | « no previous file | no next file » | 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) 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 877 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 // On error, the returned handle value is 0. 888 // On error, the returned handle value is 0.
889 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_FindNormalBrowserWindow, int) 889 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_FindNormalBrowserWindow, int)
890 890
891 // This message requests the number of normal browser windows, i.e. normal 891 // This message requests the number of normal browser windows, i.e. normal
892 // type and non-incognito mode that the app currently has open. The return 892 // type and non-incognito mode that the app currently has open. The return
893 // value is the number of windows. 893 // value is the number of windows.
894 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_NormalBrowserWindowCount, int) 894 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_NormalBrowserWindowCount, int)
895 895
896 // Used to put the browser into "extension automation mode" for the 896 // Used to put the browser into "extension automation mode" for the
897 // current profile, or turn off the mode. 897 // current profile, or turn off the mode.
898 IPC_SYNC_MESSAGE_ROUTED1_0(AutomationMsg_SetEnableExtensionAutomation, 898 IPC_MESSAGE_ROUTED1(AutomationMsg_SetEnableExtensionAutomation,
899 bool /* true to enable extension automation */) 899 bool /* true to enable extension automation */)
900 900
901 // This message tells the browser to start using the new proxy configuration 901 // This message tells the browser to start using the new proxy configuration
902 // represented by the given JSON string. The parameters used in the JSON 902 // represented by the given JSON string. The parameters used in the JSON
903 // string are defined in automation_constants.h. 903 // string are defined in automation_constants.h.
904 IPC_SYNC_MESSAGE_ROUTED1_0(AutomationMsg_SetProxyConfig, 904 IPC_MESSAGE_ROUTED1(AutomationMsg_SetProxyConfig,
905 std::string /* proxy_config_json_string */) 905 std::string /* proxy_config_json_string */)
906 906
907 // Sets Download Shelf visibility for the specified browser. 907 // Sets Download Shelf visibility for the specified browser.
908 IPC_SYNC_MESSAGE_ROUTED2_0(AutomationMsg_SetShelfVisibility, 908 IPC_SYNC_MESSAGE_ROUTED2_0(AutomationMsg_SetShelfVisibility,
909 int /* browser_handle */, 909 int /* browser_handle */,
910 bool /* is_visible */) 910 bool /* is_visible */)
911 911
912 // This message requests the number of blocked popups in a certain tab with 912 // This message requests the number of blocked popups in a certain tab with
913 // the given handle. The return value is the number of blocked popups, or -1 913 // the given handle. The return value is the number of blocked popups, or -1
914 // if this request failed. 914 // if this request failed.
915 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_BlockedPopupCount, 915 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_BlockedPopupCount,
(...skipping 13 matching lines...) Expand all
929 int /* the x coordinate for displaying the menu */, 929 int /* the x coordinate for displaying the menu */,
930 int /* the y coordinate for displaying the menu */, 930 int /* the y coordinate for displaying the menu */,
931 int /* align flags */) 931 int /* align flags */)
932 932
933 IPC_MESSAGE_ROUTED2(AutomationMsg_ForwardContextMenuCommandToChrome, 933 IPC_MESSAGE_ROUTED2(AutomationMsg_ForwardContextMenuCommandToChrome,
934 int /* tab_handle */, 934 int /* tab_handle */,
935 int /* selected_command */) 935 int /* selected_command */)
936 #endif // OS_WIN 936 #endif // OS_WIN
937 937
938 IPC_END_MESSAGES(Automation) 938 IPC_END_MESSAGES(Automation)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698