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

Unified Diff: content/shell/renderer/test_runner/web_ax_object_proxy.h

Issue 833483002: Adds API for testing aria-controls/flowto/owns properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/shell/renderer/test_runner/web_ax_object_proxy.h
diff --git a/content/shell/renderer/test_runner/web_ax_object_proxy.h b/content/shell/renderer/test_runner/web_ax_object_proxy.h
index a7abc325c96a09735a42c71e92ff5ba2c1b738c0..23c0d9aae2bd4c8159a36ee3c5b81ed39da20866 100644
--- a/content/shell/renderer/test_runner/web_ax_object_proxy.h
+++ b/content/shell/renderer/test_runner/web_ax_object_proxy.h
@@ -99,6 +99,9 @@ class WebAXObjectProxy : public gin::Wrappable<WebAXObjectProxy> {
bool IsButtonStateMixed();
// Bound methods.
+ v8::Handle<v8::Object> AriaControlsElementAtIndex(unsigned index);
+ v8::Handle<v8::Object> AriaFlowToElementAtIndex(unsigned index);
+ v8::Handle<v8::Object> AriaOwnsElementAtIndex(unsigned index);
std::string AllAttributes();
std::string AttributesOfChildren();
int LineForIndex(int index);

Powered by Google App Engine
This is Rietveld 408576698