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

Side by Side Diff: content/common/render_message_filter.mojom

Issue 2450353004: Move ViewHostMsg_CreateWidget to mojom (Closed)
Patch Set: Addressed @tsepez's comment Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « content/common/native_types.typemap ('k') | content/common/swapped_out_messages.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module content.mojom; 5 module content.mojom;
6 6
7 import "content/common/native_types.mojom";
7 import "content/public/common/window_container_type.mojom"; 8 import "content/public/common/window_container_type.mojom";
8 import "third_party/WebKit/public/platform/referrer.mojom"; 9 import "third_party/WebKit/public/platform/referrer.mojom";
9 import "third_party/WebKit/public/web/window_features.mojom"; 10 import "third_party/WebKit/public/web/window_features.mojom";
10 import "ui/base/mojo/window_open_disposition.mojom"; 11 import "ui/base/mojo/window_open_disposition.mojom";
11 import "url/mojo/url.mojom"; 12 import "url/mojo/url.mojom";
12 13
13 struct CreateNewWindowParams { 14 struct CreateNewWindowParams {
14 // Routing ID of the view initiating the open. 15 // Routing ID of the view initiating the open.
15 int32 opener_id; 16 int32 opener_id;
16 17
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 76
76 interface RenderMessageFilter { 77 interface RenderMessageFilter {
77 // Synchronously generates a new routing ID for the caller. 78 // Synchronously generates a new routing ID for the caller.
78 [Sync] GenerateRoutingID() => (int32 routing_id); 79 [Sync] GenerateRoutingID() => (int32 routing_id);
79 80
80 // Sent by the renderer when it is creating a new window. The browser creates 81 // Sent by the renderer when it is creating a new window. The browser creates
81 // a tab for it. If |reply.route_id| is MSG_ROUTING_NONE, the view couldn't 82 // a tab for it. If |reply.route_id| is MSG_ROUTING_NONE, the view couldn't
82 // be created. 83 // be created.
83 [Sync] CreateNewWindow(CreateNewWindowParams params) 84 [Sync] CreateNewWindow(CreateNewWindowParams params)
84 => (CreateNewWindowReply reply); 85 => (CreateNewWindowReply reply);
86
87 // Similar to CreateWindow, except used for sub-widgets, like <select>
88 // dropdowns.
89 [Sync] CreateNewWidget(int32 opener_id, content.mojom.WebPopupType popup_type)
90 => (int32 route_id);
85 }; 91 };
OLDNEW
« no previous file with comments | « content/common/native_types.typemap ('k') | content/common/swapped_out_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698