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

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: suppress findbugs issues 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
« no previous file with comments | « content/public/android/java/src/org/chromium/content_public/browser/AccessibilitySnapshotNode.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..986ac69f2893a9250b1a96cb0a90897827c4d62f 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 requestAccessibilitySnapshot(AccessibilitySnapshotCallback callback);
+
+ /**
* Add an observer to the WebContents
*
* @param observer The observer to add.
« no previous file with comments | « content/public/android/java/src/org/chromium/content_public/browser/AccessibilitySnapshotNode.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698