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 df36f49e0e5eca631ea0575f65fb252c991fab40..058d96dc257e786bbb8df3440ff6b89ae5e9fca8 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -207,6 +207,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(); |