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

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

Issue 2956053005: Keep track of fixed positioning in accessibility tree.
Patch Set: Created 3 years, 6 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: content/browser/accessibility/accessibility_tree_formatter_blink.cc
diff --git a/content/browser/accessibility/accessibility_tree_formatter_blink.cc b/content/browser/accessibility/accessibility_tree_formatter_blink.cc
index 71f1ea15d9991399a44aa9cc9b2c0ae7d67ae97d..32e6b6819443a269e1fd5b2a9fb8cb5616c94c42 100644
--- a/content/browser/accessibility/accessibility_tree_formatter_blink.cc
+++ b/content/browser/accessibility/accessibility_tree_formatter_blink.cc
@@ -60,6 +60,8 @@ void AccessibilityTreeFormatterBlink::AddProperties(
dict->SetInteger("boundsHeight", bounds.height());
gfx::Rect page_bounds = node.GetPageBoundsRect();
+ LOG(ERROR) << page_bounds.y() << " page bounds for "
aboxhall 2017/06/30 06:07:40 Stray log? Looks like there's a few.
dmazzoni 2017/07/06 07:20:22 Fixed all, sorry about that
+ << node.GetData().ToString();
dict->SetInteger("pageBoundsX", page_bounds.x());
dict->SetInteger("pageBoundsY", page_bounds.y());
dict->SetInteger("pageBoundsWidth", page_bounds.width());

Powered by Google App Engine
This is Rietveld 408576698