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

Unified Diff: content/public/android/java/src/org/chromium/content_public/browser/WebContents.java

Issue 1073983005: Take a snapshot of the AXTree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@assist-3
Patch Set: Created 5 years, 8 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/public/android/java/src/org/chromium/content_public/browser/WebContents.java
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
index 06c2517009165f2225824b65c5bd4ba28ac7d231..c8a76b3ac4393c666d6945106903474a37f86ad9 100644
--- a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
+++ b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
@@ -239,6 +239,14 @@ public interface WebContents {
public int getThemeColor(int defaultColor);
/**
+ * Requests a snapshop of accessibility tree. The result is provided asynchronously
+ * using the callback
+ * @param callback The callback to be called when the snapshot is ready. The callback
+ * cannot be null.
+ */
+ public void requestAXTreeSnapshot(AXTreeSnapshotCallback callback);
+
+ /**
* Add an observer to the WebContents
*
* @param observer The observer to add.

Powered by Google App Engine
This is Rietveld 408576698