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

Unified Diff: chrome/browser/browser_accessibility_win.cc

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_win.cc
===================================================================
--- chrome/browser/browser_accessibility_win.cc (revision 57984)
+++ chrome/browser/browser_accessibility_win.cc (working copy)
@@ -28,6 +28,8 @@
LONG child_id,
LONG index_in_parent,
const webkit_glue::WebAccessibility& src) {
+ DCHECK_EQ(children_.size(), 0U);
+
manager_ = manager;
parent_ = parent;
child_id_ = child_id;
@@ -90,6 +92,10 @@
return parent_;
}
+uint32 BrowserAccessibility::GetChildCount() {
+ return children_.size();
+}
+
BrowserAccessibility* BrowserAccessibility::GetPreviousSibling() {
if (parent_ && index_in_parent_ > 0)
return parent_->children_[index_in_parent_ - 1];

Powered by Google App Engine
This is Rietveld 408576698