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

Unified Diff: chrome/browser/browser_accessibility_manager_win.h

Issue 3250014: Update browser accessibility tree on a renderer accessibility object state ch... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fix lint errors 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
Index: chrome/browser/browser_accessibility_manager_win.h
===================================================================
--- chrome/browser/browser_accessibility_manager_win.h (revision 57984)
+++ chrome/browser/browser_accessibility_manager_win.h (working copy)
@@ -79,11 +79,18 @@
// Called when the renderer process has notified us of a focus, state,
// or children change. Send a notification to MSAA clients of the change.
void OnAccessibilityFocusChange(int acc_obj_id);
- void OnAccessibilityObjectStateChange(int acc_obj_id);
+ void OnAccessibilityObjectStateChange(
+ const webkit_glue::WebAccessibility& acc_obj);
void OnAccessibilityObjectChildrenChange(
const std::vector<webkit_glue::WebAccessibility>& acc_changes);
private:
+ // Update the accessibility tree with an updated WebAccessibility tree or
+ // subtree received from the renderer process. Returns the updated node or
+ // NULL if no node was updated.
+ BrowserAccessibility* UpdateTree(
+ const webkit_glue::WebAccessibility& acc_obj);
+
// Returns the next MSAA child id.
static LONG GetNextChildID();

Powered by Google App Engine
This is Rietveld 408576698