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

Unified Diff: third_party/WebKit/Source/modules/exported/WebAXObject.cpp

Issue 2956053005: Keep track of fixed positioning in accessibility tree.
Patch Set: GetSimpleRelativeBounds, add failing test for fixed with transform Created 3 years, 5 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: third_party/WebKit/Source/modules/exported/WebAXObject.cpp
diff --git a/third_party/WebKit/Source/modules/exported/WebAXObject.cpp b/third_party/WebKit/Source/modules/exported/WebAXObject.cpp
index 591c8f3e80dd9aeb24bb58cc6073efc4e6125eb6..dc73cbb7f0afba213f0617faaf78ca82c81cb59a 100644
--- a/third_party/WebKit/Source/modules/exported/WebAXObject.cpp
+++ b/third_party/WebKit/Source/modules/exported/WebAXObject.cpp
@@ -1507,7 +1507,8 @@ void WebAXObject::SetScrollOffset(const WebPoint& offset) const {
void WebAXObject::GetRelativeBounds(WebAXObject& offset_container,
WebFloatRect& bounds_in_container,
- SkMatrix44& container_transform) const {
+ SkMatrix44& container_transform,
+ bool& is_fixed_positioned) const {
if (IsDetached())
return;
@@ -1517,7 +1518,8 @@ void WebAXObject::GetRelativeBounds(WebAXObject& offset_container,
AXObject* container = nullptr;
FloatRect bounds;
- private_->GetRelativeBounds(&container, bounds, container_transform);
+ private_->GetRelativeBounds(&container, bounds, container_transform,
+ is_fixed_positioned);
offset_container = WebAXObject(container);
bounds_in_container = WebFloatRect(bounds);
}
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXSpinButton.cpp ('k') | third_party/WebKit/public/web/WebAXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698