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

Unified Diff: components/test_runner/web_ax_object_proxy.h

Issue 2047873002: Add interface to get relative bounding box rect of AX objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback from aboxhall, add aria-owns test Created 4 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
« no previous file with comments | « no previous file | components/test_runner/web_ax_object_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/web_ax_object_proxy.h
diff --git a/components/test_runner/web_ax_object_proxy.h b/components/test_runner/web_ax_object_proxy.h
index 626a154259c2c33570c6d0e813daaba5cf6cabbf..df2d19524500e8ad0067249d050a4fbe2a85788a 100644
--- a/components/test_runner/web_ax_object_proxy.h
+++ b/components/test_runner/web_ax_object_proxy.h
@@ -124,6 +124,10 @@ class WebAXObjectProxy : public gin::Wrappable<WebAXObjectProxy> {
int32_t ColumnHeadersCount();
bool IsClickable();
bool IsButtonStateMixed();
+ float BoundsX();
+ float BoundsY();
+ float BoundsWidth();
+ float BoundsHeight();
// Bound methods.
v8::Local<v8::Object> AriaControlsElementAtIndex(unsigned index);
@@ -161,11 +165,19 @@ class WebAXObjectProxy : public gin::Wrappable<WebAXObjectProxy> {
void ScrollToMakeVisible();
void ScrollToMakeVisibleWithSubFocus(int x, int y, int width, int height);
void ScrollToGlobalPoint(int x, int y);
+ int ScrollX();
+ int ScrollY();
int WordStart(int character_index);
int WordEnd(int character_index);
v8::Local<v8::Object> NextOnLine();
v8::Local<v8::Object> PreviousOnLine();
std::string MisspellingAtIndex(int index);
+ v8::Local<v8::Object> OffsetContainer();
+ float BoundsInContainerX();
+ float BoundsInContainerY();
+ float BoundsInContainerWidth();
+ float BoundsInContainerHeight();
+ bool HasNonIdentityTransform();
std::string Name();
std::string NameFrom();
« no previous file with comments | « no previous file | components/test_runner/web_ax_object_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698