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

Unified 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, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/notification_type.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_internal.h
===================================================================
--- chrome/common/render_messages_internal.h (revision 57122)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -982,6 +982,11 @@
IPC_MESSAGE_ROUTED1(ViewMsg_AccessibilityDoDefaultAction,
int /* object id */)
+ // Tells the render view that a ViewHostMsg_AccessibilityObjectChildrenChange
+ // message was processed, and the render view host is ready for additional
+ // children change messages.
+ IPC_MESSAGE_ROUTED0(ViewMsg_AccessibilityObjectChildrenChange_ACK)
+
// Relay a speech recognition result, either partial or final.
IPC_MESSAGE_ROUTED2(ViewMsg_SpeechInput_SetRecognitionResult,
int /* request id */,
@@ -2195,12 +2200,22 @@
IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityFocusChange,
int /* accessibility object id */)
- // Send as a result of a state change in the renderer (if accessibility is
+ // Sent as a result of a state change in the renderer (if accessibility is
// enabled), to notify the browser side. Takes the id of the accessibility
// object that had a state change
IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityObjectStateChange,
int /* accessibility object id */)
+ // Sent by the renderer as a result of a accessibility node children change.
+ // The browser responds with a ViewMsg_AccessibilityObjectChildrenChange_ACK.
+ IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityObjectChildrenChange,
+ std::vector<webkit_glue::WebAccessibility>)
+
+ // Send the tree of accessibility data to the browser, where it's cached
+ // in order to respond to OS accessibility queries immediately.
+ IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree,
+ webkit_glue::WebAccessibility)
+
// Message sent from the renderer to the browser to request that the browser
// close all sockets. Used for debugging/testing.
IPC_MESSAGE_CONTROL0(ViewHostMsg_CloseCurrentConnections)
@@ -2420,9 +2435,9 @@
int32, /* response_id */
string16 /* name */)
- // WebIDBObjectStore::openCursor() message.
- IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBObjectStoreOpenCursor,
- ViewHostMsg_IDBObjectStoreOpenCursor_Params)
+ // WebIDBObjectStore::openCursor() message.
+ IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBObjectStoreOpenCursor,
+ ViewHostMsg_IDBObjectStoreOpenCursor_Params)
// WebIDBObjectStore::~WebIDBObjectStore() message.
IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBObjectStoreDestroyed,
@@ -2641,11 +2656,6 @@
int /* render_view_id */,
int /* bridge_id */)
- // Send the tree of accessibility data to the browser, where it's cached
- // in order to respond to OS accessibility queries immediately.
- IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree,
- webkit_glue::WebAccessibility)
-
// Notifies the TabContents that the content being displayed is PDF.
// This allows the browser to handle things such as zooming differently.
IPC_MESSAGE_ROUTED0(ViewHostMsg_SetDisplayingPDFContent)
« 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