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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
985 | 985 |
986 // Sent on process startup to indicate whether this process is running in | 986 // Sent on process startup to indicate whether this process is running in |
987 // incognito mode. | 987 // incognito mode. |
988 IPC_MESSAGE_CONTROL1(ViewMsg_SetIsIncognitoProcess, | 988 IPC_MESSAGE_CONTROL1(ViewMsg_SetIsIncognitoProcess, |
989 bool /* is_incognito_processs */) | 989 bool /* is_incognito_processs */) |
990 | 990 |
991 // Notification that the list of extensions has been updated. | 991 // Notification that the list of extensions has been updated. |
992 IPC_MESSAGE_CONTROL1(ViewMsg_ExtensionsUpdated, | 992 IPC_MESSAGE_CONTROL1(ViewMsg_ExtensionsUpdated, |
993 ViewMsg_ExtensionsUpdated_Params) | 993 ViewMsg_ExtensionsUpdated_Params) |
994 | 994 |
995 // Request a tree of Accessibility data from the render process. | 995 // Enable accessibility in the renderer process. |
996 IPC_MESSAGE_ROUTED0(ViewMsg_GetAccessibilityTree) | 996 IPC_MESSAGE_ROUTED0(ViewMsg_EnableAccessibility) |
997 | 997 |
998 // Relay a request from assistive technology to set focus to a given node. | 998 // Relay a request from assistive technology to set focus to a given node. |
999 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityFocus, | 999 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityFocus, |
1000 int /* object id */) | 1000 int /* object id */) |
1001 | 1001 |
1002 // Relay a request from assistive technology to perform the default action | 1002 // Relay a request from assistive technology to perform the default action |
1003 // on a given node. | 1003 // on a given node. |
1004 IPC_MESSAGE_ROUTED1(ViewMsg_AccessibilityDoDefaultAction, | 1004 IPC_MESSAGE_ROUTED1(ViewMsg_AccessibilityDoDefaultAction, |
1005 int /* object id */) | 1005 int /* object id */) |
1006 | 1006 |
(...skipping 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2236 // by ViewHostMsg_OpenChannelTo*. | 2236 // by ViewHostMsg_OpenChannelTo*. |
2237 IPC_MESSAGE_ROUTED2(ViewHostMsg_ExtensionPostMessage, | 2237 IPC_MESSAGE_ROUTED2(ViewHostMsg_ExtensionPostMessage, |
2238 int /* port_id */, | 2238 int /* port_id */, |
2239 std::string /* message */) | 2239 std::string /* message */) |
2240 | 2240 |
2241 // Send a message to an extension process. The handle is the value returned | 2241 // Send a message to an extension process. The handle is the value returned |
2242 // by ViewHostMsg_OpenChannelTo*. | 2242 // by ViewHostMsg_OpenChannelTo*. |
2243 IPC_MESSAGE_CONTROL1(ViewHostMsg_ExtensionCloseChannel, | 2243 IPC_MESSAGE_CONTROL1(ViewHostMsg_ExtensionCloseChannel, |
2244 int /* port_id */) | 2244 int /* port_id */) |
2245 | 2245 |
2246 // Sent as a result of a focus change in the renderer (if accessibility is | |
2247 // enabled), to notify the browser side that its accessibility focus needs to | |
2248 // change as well. Takes the id of the accessibility object that now has | |
2249 // focus. | |
2250 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityFocusChange, | |
2251 int /* accessibility object id */) | |
2252 | |
2253 // Sent by the renderer when the state of an accessibility node changes. | |
2254 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityObjectStateChange, | |
2255 webkit_glue::WebAccessibility) | |
2256 | |
2257 // Sent to notify the browser about renderer accessibility notifications. | 2246 // Sent to notify the browser about renderer accessibility notifications. |
2258 // The browser responds with a ViewMsg_AccessibilityNotifications_ACK. | 2247 // The browser responds with a ViewMsg_AccessibilityNotifications_ACK. |
2259 IPC_MESSAGE_ROUTED1( | 2248 IPC_MESSAGE_ROUTED1( |
2260 ViewHostMsg_AccessibilityNotifications, | 2249 ViewHostMsg_AccessibilityNotifications, |
2261 std::vector<ViewHostMsg_AccessibilityNotification_Params>) | 2250 std::vector<ViewHostMsg_AccessibilityNotification_Params>) |
2262 | 2251 |
2263 // Send the tree of accessibility data to the browser, where it's cached | |
2264 // in order to respond to OS accessibility queries immediately. | |
2265 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree, | |
2266 webkit_glue::WebAccessibility) | |
2267 | |
2268 // Message sent from the renderer to the browser to request that the browser | 2252 // Message sent from the renderer to the browser to request that the browser |
2269 // close all sockets. Used for debugging/testing. | 2253 // close all sockets. Used for debugging/testing. |
2270 IPC_MESSAGE_CONTROL0(ViewHostMsg_CloseCurrentConnections) | 2254 IPC_MESSAGE_CONTROL0(ViewHostMsg_CloseCurrentConnections) |
2271 | 2255 |
2272 // Message sent from the renderer to the browser to request that the browser | 2256 // Message sent from the renderer to the browser to request that the browser |
2273 // enable or disable the cache. Used for debugging/testing. | 2257 // enable or disable the cache. Used for debugging/testing. |
2274 IPC_MESSAGE_CONTROL1(ViewHostMsg_SetCacheMode, | 2258 IPC_MESSAGE_CONTROL1(ViewHostMsg_SetCacheMode, |
2275 bool /* enabled */) | 2259 bool /* enabled */) |
2276 | 2260 |
2277 // Message sent from the renderer to the browser to request that the browser | 2261 // Message sent from the renderer to the browser to request that the browser |
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2892 // Unregister a blob URL. | 2876 // Unregister a blob URL. |
2893 IPC_MESSAGE_CONTROL1(ViewHostMsg_UnregisterBlobUrl, GURL /* url */) | 2877 IPC_MESSAGE_CONTROL1(ViewHostMsg_UnregisterBlobUrl, GURL /* url */) |
2894 | 2878 |
2895 // Suggest results ----------------------------------------------------------- | 2879 // Suggest results ----------------------------------------------------------- |
2896 | 2880 |
2897 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSuggestResult, | 2881 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSuggestResult, |
2898 int32 /* page_id */, | 2882 int32 /* page_id */, |
2899 std::string /* suggest */) | 2883 std::string /* suggest */) |
2900 | 2884 |
2901 IPC_END_MESSAGES(ViewHost) | 2885 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |