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

Unified Diff: content/common/render_message_filter.mojom

Issue 2821473002: Service CreateNewWindow on the UI thread with a new mojo interface (Closed)
Patch Set: associated with IPC channel 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/common/render_message_filter.mojom
diff --git a/content/common/render_message_filter.mojom b/content/common/render_message_filter.mojom
index 0e6cfc3c85c1cc2ea4b4a3581ba15d85892d64ba..0eaae541a5e7b992b4a63ef91465c97ca1d0e613 100644
--- a/content/common/render_message_filter.mojom
+++ b/content/common/render_message_filter.mojom
@@ -80,12 +80,6 @@ interface RenderMessageFilter {
// Synchronously generates a new routing ID for the caller.
[Sync] GenerateRoutingID() => (int32 routing_id);
- // Sent by the renderer when it is creating a new window. The browser creates
- // a tab for it. If |reply.route_id| is MSG_ROUTING_NONE, the view couldn't
- // be created.
- [Sync] CreateNewWindow(CreateNewWindowParams params)
- => (CreateNewWindowReply reply);
-
// Similar to CreateWindow, except used for sub-widgets, like <select>
// dropdowns.
[Sync] CreateNewWidget(int32 opener_id, content.mojom.WebPopupType popup_type)
@@ -97,3 +91,12 @@ interface RenderMessageFilter {
GetSharedBitmapManager(associated cc.mojom.SharedBitmapManager& bitmap_manager);
};
+
+// Similar to RenderMessageFilter, but all IPCs are serviced on the UI thread.
+interface RenderMessageFilterUI {
ncarter (slow) 2017/04/17 19:56:38 Did you consider just routing this to the opener R
Charlie Harrison 2017/04/17 20:10:52 Yep, discussed this with dcheng@ and we considered
ncarter (slow) 2017/04/17 20:44:26 I think it's preferable to use the opener here, si
dcheng 2017/04/17 20:50:40 I did some more thinking, and I think routing it v
Charlie Harrison 2017/04/18 20:38:52 Alright the current version attempts to route thro
+ // Sent by the renderer when it is creating a new window. The browser creates
+ // a tab for it. If |reply.route_id| is MSG_ROUTING_NONE, the view couldn't
+ // be created.
+ [Sync] CreateNewWindow(CreateNewWindowParams params)
+ => (CreateNewWindowReply reply);
+};

Powered by Google App Engine
This is Rietveld 408576698