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

Unified Diff: content/renderer/render_frame_impl.h

Issue 2821473002: Service CreateNewWindow on the UI thread with a new mojo interface (Closed)
Patch Set: MakeShared goodness 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 931da37f2499aea47669cb229c23e456c4cb2850..ec8f52a19d26f6bef3e4eb937ce32e9f86a287d1 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -685,7 +685,11 @@ class CONTENT_EXPORT RenderFrameImpl
void BindEngagement(blink::mojom::EngagementClientAssociatedRequest request);
// Binds to the FrameHost in the browser.
- void BindFrame(mojom::FrameRequest request, mojom::FrameHostPtr frame_host);
+ void BindFrame(mojom::FrameRequest request,
+ mojom::FrameHostInterfaceBrokerPtr frame_host);
+
+ // Virtual so the test render frame can flush the interface.
+ virtual mojom::FrameHostAssociatedPtr GetFrameHost();
void BindFrameBindingsControl(
mojom::FrameBindingsControlAssociatedRequest request);
@@ -1380,7 +1384,7 @@ class CONTENT_EXPORT RenderFrameImpl
mojo::AssociatedBinding<mojom::HostZoom> host_zoom_binding_;
mojo::AssociatedBinding<mojom::FrameBindingsControl>
frame_bindings_control_binding_;
- mojom::FrameHostPtr frame_host_;
+ mojom::FrameHostInterfaceBrokerPtr frame_host_interface_broker_;
// Indicates whether |didAccessInitialDocument| was called.
bool has_accessed_initial_document_;

Powered by Google App Engine
This is Rietveld 408576698