Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / content / renderer / accessibility / blink_ax_tree_source.h
index 007df07..b252b27 100644 (file)
@@ -19,6 +19,13 @@ class BlinkAXTreeSource
   BlinkAXTreeSource(RenderFrameImpl* render_frame);
   virtual ~BlinkAXTreeSource();
 
+  // Call this to have BlinkAXTreeSource collect a mapping from
+  // node ids to the frame routing id for an out-of-process iframe during
+  // calls to SerializeNode.
+  void CollectChildFrameIdMapping(
+      std::map<int32, int>* node_to_frame_routing_id_map,
+      std::map<int32, int>* node_to_browser_plugin_instance_id_map);
+
   // Walks up the ancestor chain to see if this is a descendant of the root.
   bool IsInTree(blink::WebAXObject node) const;
 
@@ -42,6 +49,8 @@ class BlinkAXTreeSource
 
  private:
   RenderFrameImpl* render_frame_;
+  std::map<int32, int>* node_to_frame_routing_id_map_;
+  std::map<int32, int>* node_to_browser_plugin_instance_id_map_;
 };
 
 }  // namespace content