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

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

Issue 10703040: Revert 144610 (speculative; possibly caused http://crbug.com/135059) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // NOTE: All IPC messages have either a routing_id of 0 (for asynchronous 7 // NOTE: All IPC messages have either a routing_id of 0 (for asynchronous
8 // messages), or one that's been assigned by the proxy (for calls 8 // messages), or one that's been assigned by the proxy (for calls
9 // which expect a response). The routing_id shouldn't be used for 9 // which expect a response). The routing_id shouldn't be used for
10 // any other purpose in these message types. 10 // any other purpose in these message types.
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 // This message informs the browser process to remove the history entries 850 // This message informs the browser process to remove the history entries
851 // for the specified types across all time ranges. See 851 // for the specified types across all time ranges. See
852 // browsing_data_remover.h for a list of REMOVE_* types supported in the 852 // browsing_data_remover.h for a list of REMOVE_* types supported in the
853 // remove_mask parameter. 853 // remove_mask parameter.
854 IPC_MESSAGE_CONTROL1(AutomationMsg_RemoveBrowsingData, 854 IPC_MESSAGE_CONTROL1(AutomationMsg_RemoveBrowsingData,
855 int) 855 int)
856 856
857 // Generic pyauto pattern to help avoid future addition of 857 // Generic pyauto pattern to help avoid future addition of
858 // automation messages. 858 // automation messages.
859 IPC_SYNC_MESSAGE_CONTROL2_2(AutomationMsg_SendJSONRequest, 859 IPC_SYNC_MESSAGE_CONTROL2_2(AutomationMsg_SendJSONRequest,
860 int /* window_index */, 860 int /* browser_handle */,
861 std::string /* JSON request */, 861 std::string /* JSON request */,
862 std::string /* JSON response */, 862 std::string /* JSON response */,
863 bool /* success */) 863 bool /* success */)
864 864
865 // Resets to the default theme. 865 // Resets to the default theme.
866 IPC_SYNC_MESSAGE_CONTROL0_0(AutomationMsg_ResetToDefaultTheme) 866 IPC_SYNC_MESSAGE_CONTROL0_0(AutomationMsg_ResetToDefaultTheme)
867 867
868 // This message requests the external tab identified by the tab handle 868 // This message requests the external tab identified by the tab handle
869 // passed in be closed. 869 // passed in be closed.
870 // Request: 870 // Request:
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 // code can be removed if that limitation is fixed. 943 // code can be removed if that limitation is fixed.
944 IPC_SYNC_MESSAGE_CONTROL0_2(AutomationMsg_GetTracingOutput, 944 IPC_SYNC_MESSAGE_CONTROL0_2(AutomationMsg_GetTracingOutput,
945 std::string /* trace_chunk */, 945 std::string /* trace_chunk */,
946 bool /* success */) 946 bool /* success */)
947 947
948 // Used on Mac OS X to read the number of active Mach ports used in the browser 948 // Used on Mac OS X to read the number of active Mach ports used in the browser
949 // process. 949 // process.
950 IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_GetMachPortCount, 950 IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_GetMachPortCount,
951 int /* number of Mach ports */) 951 int /* number of Mach ports */)
952 952
953 // Generic pyauto pattern to help avoid future addition of
954 // automation messages.
955 IPC_SYNC_MESSAGE_CONTROL2_2(AutomationMsg_SendJSONRequestWithBrowserHandle,
956 int /* browser_handle */,
957 std::string /* JSON request */,
958 std::string /* JSON response */,
959 bool /* success */)
960
961 // Browser -> renderer messages. 953 // Browser -> renderer messages.
962 954
963 // Requests a snapshot. 955 // Requests a snapshot.
964 IPC_MESSAGE_ROUTED0(AutomationMsg_SnapshotEntirePage) 956 IPC_MESSAGE_ROUTED0(AutomationMsg_SnapshotEntirePage)
965 957
966 #if !defined(NO_TCMALLOC) && (defined(OS_LINUX) || defined(OS_CHROMEOS)) 958 #if !defined(NO_TCMALLOC) && (defined(OS_LINUX) || defined(OS_CHROMEOS))
967 // Requests to dump a heap profile. 959 // Requests to dump a heap profile.
968 IPC_MESSAGE_ROUTED1(AutomationMsg_HeapProfilerDump, 960 IPC_MESSAGE_ROUTED1(AutomationMsg_HeapProfilerDump,
969 std::string /* reason */) 961 std::string /* reason */)
970 #endif // !defined(NO_TCMALLOC) && (defined(OS_LINUX) || defined(OS_CHROMEOS)) 962 #endif // !defined(NO_TCMALLOC) && (defined(OS_LINUX) || defined(OS_CHROMEOS))
(...skipping 30 matching lines...) Expand all
1001 993
1002 // Sent when the automation mouse event has been processed. 994 // Sent when the automation mouse event has been processed.
1003 IPC_MESSAGE_ROUTED2(AutomationMsg_ProcessMouseEventACK, 995 IPC_MESSAGE_ROUTED2(AutomationMsg_ProcessMouseEventACK,
1004 bool /* success */, 996 bool /* success */,
1005 std::string /* error message */) 997 std::string /* error message */)
1006 998
1007 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE. 999 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE.
1008 // This is the section for renderer -> browser automation messages. If it is 1000 // This is the section for renderer -> browser automation messages. If it is
1009 // an automation <-> browser message, put it above this section. The "no line 1001 // an automation <-> browser message, put it above this section. The "no line
1010 // number change" applies only to the automation <-> browser messages. 1002 // number change" applies only to the automation <-> browser messages.
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/test/automation/browser_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698