Index: content/browser/frame_host/render_frame_host_impl.h |
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h |
index 720235227365ec2a878d20f71b2ef2cba69e3af9..7257080ccdc6bf60ae254bece269498b7e49a918 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.h |
+++ b/content/browser/frame_host/render_frame_host_impl.h |
@@ -161,6 +161,8 @@ class CONTENT_EXPORT RenderFrameHostImpl |
gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; |
BrowserAccessibilityManager* AccessibilityGetChildFrame( |
int accessibility_node_id) override; |
+ void AccessibilityGetAllChildFrames( |
+ std::vector<BrowserAccessibilityManager*>* child_frames) override; |
BrowserAccessibility* AccessibilityGetParentFrame() override; |
// Creates a RenderFrame in the renderer process. Only called for |
@@ -493,6 +495,11 @@ class CONTENT_EXPORT RenderFrameHostImpl |
void UpdateGuestFrameAccessibility( |
const std::map<int32, int>& node_to_browser_plugin_instance_id_map); |
+ // Asserts that the given render frame host is part of the same browser |
nasko
2015/01/16 20:12:55
nit: s/render frame host/RenderFrameHost/
dmazzoni
2015/01/16 20:20:02
Done.
|
+ // context (and crashes if not), then returns whether the given frame is |
+ // part of the same site instance. |
+ bool IsSameSiteInstance(RenderFrameHostImpl* other_render_frame_host); |
+ |
// Informs the content client that geolocation permissions were used. |
void DidUseGeolocationPermission(); |