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

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

Issue 2552913003: Revert of Replacing allocate bitmap IPC messages with a new Mojo interface. (Closed)
Patch Set: Created 4 years 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/child_process_messages.h ('k') | content/public/test/mock_render_thread.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/common/native_types.mojom";
8 import "content/public/common/window_container_type.mojom"; 8 import "content/public/common/window_container_type.mojom";
9 import "gpu/ipc/common/mailbox.mojom";
10 import "third_party/WebKit/public/platform/referrer.mojom"; 9 import "third_party/WebKit/public/platform/referrer.mojom";
11 import "third_party/WebKit/public/web/window_features.mojom"; 10 import "third_party/WebKit/public/web/window_features.mojom";
12 import "ui/base/mojo/window_open_disposition.mojom"; 11 import "ui/base/mojo/window_open_disposition.mojom";
13 import "url/mojo/url.mojom"; 12 import "url/mojo/url.mojom";
14 13
15 struct CreateNewWindowParams { 14 struct CreateNewWindowParams {
16 // Routing ID of the view initiating the open. 15 // Routing ID of the view initiating the open.
17 int32 opener_id; 16 int32 opener_id;
18 17
19 // True if this open request came in the context of a user gesture. 18 // True if this open request came in the context of a user gesture.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 => (CreateNewWindowReply reply); 85 => (CreateNewWindowReply reply);
87 86
88 // Similar to CreateWindow, except used for sub-widgets, like <select> 87 // Similar to CreateWindow, except used for sub-widgets, like <select>
89 // dropdowns. 88 // dropdowns.
90 [Sync] CreateNewWidget(int32 opener_id, content.mojom.WebPopupType popup_type) 89 [Sync] CreateNewWidget(int32 opener_id, content.mojom.WebPopupType popup_type)
91 => (int32 route_id); 90 => (int32 route_id);
92 91
93 // Similar to CreateWidget except the widget is a full screen window. 92 // Similar to CreateWidget except the widget is a full screen window.
94 [Sync] CreateFullscreenWidget(int32 opener_id) 93 [Sync] CreateFullscreenWidget(int32 opener_id)
95 => (int32 route_id); 94 => (int32 route_id);
96
97 // The 2 following methods belong to a future CC related mojom.
98 // For now they need to be part of this channel associated interface to
99 // prevent running into message ordering issues (CC trying to access a shared
100 // bitmap before the registration message below made it to the browser).
101 //
102 // Informs the browser that the child allocated a shared bitmap.
103 AllocatedSharedBitmap(handle<shared_buffer> buffer, gpu.mojom.Mailbox id);
104
105 // Informs the browser that the child deleted a shared bitmap.
106 DeletedSharedBitmap(gpu.mojom.Mailbox id);
107 }; 95 };
OLDNEW
« no previous file with comments | « content/common/child_process_messages.h ('k') | content/public/test/mock_render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698