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

Unified Diff: content/public/android/java/src/org/chromium/content_public/browser/AccessibilitySnapshotCallback.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
Index: content/public/android/java/src/org/chromium/content_public/browser/AccessibilitySnapshotCallback.java
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/AccessibilitySnapshotCallback.java b/content/public/android/java/src/org/chromium/content_public/browser/AccessibilitySnapshotCallback.java
new file mode 100644
index 0000000000000000000000000000000000000000..993ce1376eb7155858b589a7ec8ca0a6fc9c011f
--- /dev/null
+++ b/content/public/android/java/src/org/chromium/content_public/browser/AccessibilitySnapshotCallback.java
@@ -0,0 +1,15 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.content_public.browser;
+
+/** Callback interface for WebContents RequestAXTreeSnapshot(). */
+public abstract class AccessibilitySnapshotCallback {
+
+ /**
+ * Provide accessibility node data. The root node will be null if the
+ * accessibility tree cannot be parsed due to a failure/error.
+ */
+ public abstract void onAccessibilitySnapshot(AccessibilitySnapshotNode root);
+}

Powered by Google App Engine
This is Rietveld 408576698