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

Unified Diff: chrome/browser/browser_accessibility_win.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/browser/browser_accessibility_manager_win.cc ('k') | chrome/browser/browser_accessibility_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_accessibility_win.h
===================================================================
--- chrome/browser/browser_accessibility_win.h (revision 57122)
+++ chrome/browser/browser_accessibility_win.h (working copy)
@@ -67,6 +67,10 @@
// Return true if this object is equal to or a descendant of |ancestor|.
bool IsDescendantOf(BrowserAccessibility* ancestor);
+ // Returns the parent of this object, or NULL if it's the BrowserAccessibility
+ // root.
+ BrowserAccessibility* GetParent();
+
// Return the previous sibling of this object, or NULL if it's the first
// child of its parent.
BrowserAccessibility* GetPreviousSibling();
@@ -75,9 +79,15 @@
// of its parent.
BrowserAccessibility* GetNextSibling();
+ // Replace a child BrowserAccessibility object. Used when updating the
+ // accessibility tree.
+ void ReplaceChild(
+ const BrowserAccessibility* old_acc, BrowserAccessibility* new_acc);
+
// Accessors
LONG child_id() const { return child_id_; }
int32 renderer_id() const { return renderer_id_; }
+ LONG index_in_parent() const { return index_in_parent_; }
// Add one to the reference count and return the same object. Always
// use this method when returning a BrowserAccessibility object as
« no previous file with comments | « chrome/browser/browser_accessibility_manager_win.cc ('k') | chrome/browser/browser_accessibility_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698