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

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

Issue 2717213004: Move SharedBitmapManager implementation out of content/ (Closed)
Patch Set: rebase 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 unified diff | Download patch
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 "cc/ipc/shared_bitmap_manager.mojom";
7 import "content/common/native_types.mojom"; 8 import "content/common/native_types.mojom";
8 import "content/public/common/window_container_type.mojom"; 9 import "content/public/common/window_container_type.mojom";
9 import "gpu/ipc/common/mailbox.mojom"; 10 import "gpu/ipc/common/mailbox.mojom";
10 import "third_party/WebKit/public/platform/referrer.mojom"; 11 import "third_party/WebKit/public/platform/referrer.mojom";
11 import "third_party/WebKit/public/web/window_features.mojom"; 12 import "third_party/WebKit/public/web/window_features.mojom";
12 import "ui/base/mojo/window_open_disposition.mojom"; 13 import "ui/base/mojo/window_open_disposition.mojom";
13 import "url/mojo/url.mojom"; 14 import "url/mojo/url.mojom";
14 15
15 struct CreateNewWindowParams { 16 struct CreateNewWindowParams {
16 // The routing id of the frame initiating the open. 17 // The routing id of the frame initiating the open.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 88
88 // Similar to CreateWindow, except used for sub-widgets, like <select> 89 // Similar to CreateWindow, except used for sub-widgets, like <select>
89 // dropdowns. 90 // dropdowns.
90 [Sync] CreateNewWidget(int32 opener_id, content.mojom.WebPopupType popup_type) 91 [Sync] CreateNewWidget(int32 opener_id, content.mojom.WebPopupType popup_type)
91 => (int32 route_id); 92 => (int32 route_id);
92 93
93 // Similar to CreateWidget except the widget is a full screen window. 94 // Similar to CreateWidget except the widget is a full screen window.
94 [Sync] CreateFullscreenWidget(int32 opener_id) 95 [Sync] CreateFullscreenWidget(int32 opener_id)
95 => (int32 route_id); 96 => (int32 route_id);
96 97
97 // The 2 following methods belong to a future CC related mojom. 98 GetSharedBitmapManager(associated cc.mojom.SharedBitmapManager& bitmap_manager );
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 }; 99 };
OLDNEW
« no previous file with comments | « content/common/host_shared_bitmap_manager_unittest.cc ('k') | content/public/test/mock_render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698