Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 6626ab0c93e3221f62e0920b824deca043d82f7c..c94689ca8d1a1646eb77270aaeec0e5aa49d81d1 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -722,6 +722,12 @@ void WebContentsImpl::RemoveAccessibilityMode(AccessibilityMode mode) { |
SetAccessibilityMode(RemoveAccessibilityModeFrom(accessibility_mode_, mode)); |
} |
+void WebContentsImpl::RequestAXTreeSnapshot(AXTreeSnapshotCallback callback) { |
+ // TODO(dmazzoni): this only returns the accessibility tree from the main |
+ // frame and everything in the same site instance. |
Charlie Reis
2015/04/02 23:09:06
How will this work for OOPIFs?
dmazzoni
2015/04/03 22:49:42
Yes - to address this and your question above, her
Charlie Reis
2015/04/06 21:56:51
I'm open to the idea of using a different set of I
dmazzoni
2015/04/09 18:39:01
Note that this is a sync IPC from the renderer to
Charlie Reis
2015/04/10 20:18:07
Which IPC are you referring to by "this is a sync
|
+ GetMainFrame()->RequestAXTreeSnapshot(callback); |
+} |
+ |
void WebContentsImpl::ClearNavigationTransitionData() { |
FrameTreeNode* node = frame_tree_.root(); |
node->render_manager()->ClearNavigationTransitionData(); |