DescriptionAdd GetScreenBoundsRect() to ui::AXPlatformNodeDelegate
In converting accLocation() in BrowserAccessibility to use AXPlatformNode, we
found that the simple model of using local coordinates plus a global offset just
doesn't work.
In Views we've been able to get away with this simple model because Views do not
have the same nested transformations that the web can like rotation and scaling.
This change also allows us to remove GetGlobalCoordinateOffset() as
the x.() and y.() of the result of GetScreenBoundsRect() can be used instead.
BUG=703369
Review-Url: https://codereview.chromium.org/2795543002
Cr-Commit-Position: refs/heads/master@{#462971}
Committed: https://chromium.googlesource.com/chromium/src/+/365c1380f2e6f346ec267b48f9e238fce309ac38
Patch Set 1 #
Total comments: 1
Patch Set 2 : Remove GetGlobalCoordinateOffset #
Total comments: 3
Patch Set 3 : Add GetScreenBoundsRect() to ui::AXPlatformNodeDelegate #
Total comments: 1
Dependent Patchsets: Messages
Total messages: 26 (17 generated)
|