Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2950)

Unified Diff: content/renderer/render_frame_impl.h

Issue 2821473002: Service CreateNewWindow on the UI thread with a new mojo interface (Closed)
Patch Set: devlin review Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 94d1ed7f77e92ae7cfd40621c3cc5b38a3926aea..2190eaf4a9487e0aa10567a6064acf897e9bc003 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -321,6 +321,9 @@ class CONTENT_EXPORT RenderFrameImpl
// blink has a separate accessibility tree per frame.
void FocusedNodeChangedForAccessibility(const blink::WebNode& node);
+ // Virtual to allow for overriding in TestRenderFrame.
+ virtual mojom::FrameHostIPC* GetFrameHostIPC();
+
// A RenderView opened by this RenderFrame needs to be shown.
void ShowCreatedWindow(bool opened_by_user_gesture,
RenderWidget* render_widget_to_show,
@@ -1379,6 +1382,7 @@ class CONTENT_EXPORT RenderFrameImpl
mojo::AssociatedBinding<mojom::FrameBindingsControl>
frame_bindings_control_binding_;
mojom::FrameHostPtr frame_host_;
+ mojom::FrameHostIPCAssociatedPtr frame_host_ipc_;
// Indicates whether |didAccessInitialDocument| was called.
bool has_accessed_initial_document_;

Powered by Google App Engine
This is Rietveld 408576698