Chromium Code Reviews| 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); |
| +}; |