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

Unified Diff: content/browser/accessibility/browser_accessibility.cc

Issue 8776026: Make accessible scroll position attributes more generic and (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | « no previous file | webkit/glue/webaccessibility.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility.cc
===================================================================
--- content/browser/accessibility/browser_accessibility.cc (revision 112482)
+++ content/browser/accessibility/browser_accessibility.cc (working copy)
@@ -133,8 +133,8 @@
BrowserAccessibility* root = manager_->GetRoot();
int scroll_x = 0;
int scroll_y = 0;
- root->GetIntAttribute(WebAccessibility::ATTR_DOC_SCROLLX, &scroll_x);
- root->GetIntAttribute(WebAccessibility::ATTR_DOC_SCROLLY, &scroll_y);
+ root->GetIntAttribute(WebAccessibility::ATTR_SCROLL_X, &scroll_x);
+ root->GetIntAttribute(WebAccessibility::ATTR_SCROLL_Y, &scroll_y);
bounds.Offset(-scroll_x, -scroll_y);
return bounds;
@@ -272,4 +272,3 @@
result += children_[i]->GetTextRecursive();
return result;
}
-
« no previous file with comments | « no previous file | webkit/glue/webaccessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698