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

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

Issue 3117036: Update browser cache of accessibility tree on renderer sub-tree changes.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Updating from comments. Created 10 years, 3 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 | « chrome/common/notification_type.h ('k') | chrome/renderer/render_view.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 // 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 964 matching lines...) Expand 10 before | Expand all | Expand 10 after
975 975
976 // Relay a request from assistive technology to set focus to a given node. 976 // Relay a request from assistive technology to set focus to a given node.
977 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityFocus, 977 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityFocus,
978 int /* object id */) 978 int /* object id */)
979 979
980 // Relay a request from assistive technology to perform the default action 980 // Relay a request from assistive technology to perform the default action
981 // on a given node. 981 // on a given node.
982 IPC_MESSAGE_ROUTED1(ViewMsg_AccessibilityDoDefaultAction, 982 IPC_MESSAGE_ROUTED1(ViewMsg_AccessibilityDoDefaultAction,
983 int /* object id */) 983 int /* object id */)
984 984
985 // Tells the render view that a ViewHostMsg_AccessibilityObjectChildrenChange
986 // message was processed, and the render view host is ready for additional
987 // children change messages.
988 IPC_MESSAGE_ROUTED0(ViewMsg_AccessibilityObjectChildrenChange_ACK)
989
985 // Relay a speech recognition result, either partial or final. 990 // Relay a speech recognition result, either partial or final.
986 IPC_MESSAGE_ROUTED2(ViewMsg_SpeechInput_SetRecognitionResult, 991 IPC_MESSAGE_ROUTED2(ViewMsg_SpeechInput_SetRecognitionResult,
987 int /* request id */, 992 int /* request id */,
988 string16 /* result */) 993 string16 /* result */)
989 994
990 // Indicate that speech recognizer has stopped recording and started 995 // Indicate that speech recognizer has stopped recording and started
991 // recognition. 996 // recognition.
992 IPC_MESSAGE_ROUTED1(ViewMsg_SpeechInput_RecordingComplete, 997 IPC_MESSAGE_ROUTED1(ViewMsg_SpeechInput_RecordingComplete,
993 int /* request id */) 998 int /* request id */)
994 999
(...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after
2188 IPC_MESSAGE_CONTROL1(ViewHostMsg_ExtensionCloseChannel, 2193 IPC_MESSAGE_CONTROL1(ViewHostMsg_ExtensionCloseChannel,
2189 int /* port_id */) 2194 int /* port_id */)
2190 2195
2191 // Sent as a result of a focus change in the renderer (if accessibility is 2196 // Sent as a result of a focus change in the renderer (if accessibility is
2192 // enabled), to notify the browser side that its accessibility focus needs to 2197 // enabled), to notify the browser side that its accessibility focus needs to
2193 // change as well. Takes the id of the accessibility object that now has 2198 // change as well. Takes the id of the accessibility object that now has
2194 // focus. 2199 // focus.
2195 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityFocusChange, 2200 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityFocusChange,
2196 int /* accessibility object id */) 2201 int /* accessibility object id */)
2197 2202
2198 // Send as a result of a state change in the renderer (if accessibility is 2203 // Sent as a result of a state change in the renderer (if accessibility is
2199 // enabled), to notify the browser side. Takes the id of the accessibility 2204 // enabled), to notify the browser side. Takes the id of the accessibility
2200 // object that had a state change 2205 // object that had a state change
2201 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityObjectStateChange, 2206 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityObjectStateChange,
2202 int /* accessibility object id */) 2207 int /* accessibility object id */)
2203 2208
2209 // Sent by the renderer as a result of a accessibility node children change.
2210 // The browser responds with a ViewMsg_AccessibilityObjectChildrenChange_ACK.
2211 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityObjectChildrenChange,
2212 std::vector<webkit_glue::WebAccessibility>)
2213
2214 // Send the tree of accessibility data to the browser, where it's cached
2215 // in order to respond to OS accessibility queries immediately.
2216 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree,
2217 webkit_glue::WebAccessibility)
2218
2204 // Message sent from the renderer to the browser to request that the browser 2219 // Message sent from the renderer to the browser to request that the browser
2205 // close all sockets. Used for debugging/testing. 2220 // close all sockets. Used for debugging/testing.
2206 IPC_MESSAGE_CONTROL0(ViewHostMsg_CloseCurrentConnections) 2221 IPC_MESSAGE_CONTROL0(ViewHostMsg_CloseCurrentConnections)
2207 2222
2208 // Message sent from the renderer to the browser to request that the browser 2223 // Message sent from the renderer to the browser to request that the browser
2209 // enable or disable the cache. Used for debugging/testing. 2224 // enable or disable the cache. Used for debugging/testing.
2210 IPC_MESSAGE_CONTROL1(ViewHostMsg_SetCacheMode, 2225 IPC_MESSAGE_CONTROL1(ViewHostMsg_SetCacheMode,
2211 bool /* enabled */) 2226 bool /* enabled */)
2212 2227
2213 // Message sent from the renderer to the browser to request that the browser 2228 // Message sent from the renderer to the browser to request that the browser
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
2413 string16, /* name */ 2428 string16, /* name */
2414 bool, /* success */ 2429 bool, /* success */
2415 int32 /* idb_index_id */) 2430 int32 /* idb_index_id */)
2416 2431
2417 // WebIDBObjectStore::removeIndex() message. 2432 // WebIDBObjectStore::removeIndex() message.
2418 IPC_MESSAGE_CONTROL3(ViewHostMsg_IDBObjectStoreRemoveIndex, 2433 IPC_MESSAGE_CONTROL3(ViewHostMsg_IDBObjectStoreRemoveIndex,
2419 int32, /* idb_object_store_id */ 2434 int32, /* idb_object_store_id */
2420 int32, /* response_id */ 2435 int32, /* response_id */
2421 string16 /* name */) 2436 string16 /* name */)
2422 2437
2423 // WebIDBObjectStore::openCursor() message. 2438 // WebIDBObjectStore::openCursor() message.
2424 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBObjectStoreOpenCursor, 2439 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBObjectStoreOpenCursor,
2425 ViewHostMsg_IDBObjectStoreOpenCursor_Params) 2440 ViewHostMsg_IDBObjectStoreOpenCursor_Params)
2426 2441
2427 // WebIDBObjectStore::~WebIDBObjectStore() message. 2442 // WebIDBObjectStore::~WebIDBObjectStore() message.
2428 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBObjectStoreDestroyed, 2443 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBObjectStoreDestroyed,
2429 int32 /* idb_object_store_id */) 2444 int32 /* idb_object_store_id */)
2430 2445
2431 // WebIDBDatabase::~WebIDBCursor() message. 2446 // WebIDBDatabase::~WebIDBCursor() message.
2432 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBCursorDestroyed, 2447 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBCursorDestroyed,
2433 int32 /* idb_cursor_id */) 2448 int32 /* idb_cursor_id */)
2434 2449
2435 // WebIDBTransaction::~WebIDBTransaction() message. 2450 // WebIDBTransaction::~WebIDBTransaction() message.
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
2634 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Suspend, 2649 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Suspend,
2635 int /* render_view_id */, 2650 int /* render_view_id */,
2636 int /* bridge_id */) 2651 int /* bridge_id */)
2637 2652
2638 // The |render_view_id| and |bridge_id| requests Geolocation service to 2653 // The |render_view_id| and |bridge_id| requests Geolocation service to
2639 // resume. 2654 // resume.
2640 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, 2655 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume,
2641 int /* render_view_id */, 2656 int /* render_view_id */,
2642 int /* bridge_id */) 2657 int /* bridge_id */)
2643 2658
2644 // Send the tree of accessibility data to the browser, where it's cached
2645 // in order to respond to OS accessibility queries immediately.
2646 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree,
2647 webkit_glue::WebAccessibility)
2648
2649 // Notifies the TabContents that the content being displayed is PDF. 2659 // Notifies the TabContents that the content being displayed is PDF.
2650 // This allows the browser to handle things such as zooming differently. 2660 // This allows the browser to handle things such as zooming differently.
2651 IPC_MESSAGE_ROUTED0(ViewHostMsg_SetDisplayingPDFContent) 2661 IPC_MESSAGE_ROUTED0(ViewHostMsg_SetDisplayingPDFContent)
2652 2662
2653 // Requests the speech input service to start speech recognition on behalf of 2663 // Requests the speech input service to start speech recognition on behalf of
2654 // the given |render_view_id|. 2664 // the given |render_view_id|.
2655 IPC_MESSAGE_CONTROL2(ViewHostMsg_SpeechInput_StartRecognition, 2665 IPC_MESSAGE_CONTROL2(ViewHostMsg_SpeechInput_StartRecognition,
2656 int /* render_view_id */, 2666 int /* render_view_id */,
2657 int /* request id */) 2667 int /* request id */)
2658 2668
(...skipping 25 matching lines...) Expand all
2684 2694
2685 //----------------------------------------------------------------------------- 2695 //-----------------------------------------------------------------------------
2686 // FileSystem API messages 2696 // FileSystem API messages
2687 // These are messages sent from the renderer to the browser process. 2697 // These are messages sent from the renderer to the browser process.
2688 2698
2689 // WebFrameClient::openFileSystem() message. 2699 // WebFrameClient::openFileSystem() message.
2690 IPC_MESSAGE_CONTROL1(ViewHostMsg_OpenFileSystemRequest, 2700 IPC_MESSAGE_CONTROL1(ViewHostMsg_OpenFileSystemRequest,
2691 ViewHostMsg_OpenFileSystemRequest_Params) 2701 ViewHostMsg_OpenFileSystemRequest_Params)
2692 2702
2693 IPC_END_MESSAGES(ViewHost) 2703 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/notification_type.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698