Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index c4f908caa0ab8f497182e675f78b8041149cc7db..d9d89231e647708f67da269d09da399d78d12005 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -205,6 +205,12 @@ class CONTENT_EXPORT WebContentsImpl |
// have been removed. |
void RemoveAccessibilityMode(AccessibilityMode mode); |
+ // Request a one-time snapshot of the accessibility tree without changing |
+ // the accessibility mode. |
+ typedef base::Callback<void(const ui::AXTreeUpdate&)> |
+ AXTreeSnapshotCallback; |
+ void RequestAXTreeSnapshot(AXTreeSnapshotCallback callback); |
+ |
// Clear the navigation transition data when the user navigates back to Chrome |
// from a native app. |
void ClearNavigationTransitionData(); |