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

Side by Side Diff: components/display_compositor/interfaces/shared_bitmap_manager.mojom

Issue 2717213004: Move SharedBitmapManager implementation out of content/ (Closed)
Patch Set: rebase Created 3 years, 9 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module display_compositor.mojom;
6
7 import "gpu/ipc/common/mailbox.mojom";
8
9 // This interface is used for allocating shared bitmap memory from browser
danakj 2017/02/28 20:34:57 from the display compositor, instead of from the b
10 // process. For mus+ash, this service will live in mus process.
danakj 2017/02/28 20:34:56 mus process is ambiguous, there is mus gpu and win
11 interface SharedBitmapManager {
12 // The 2 following methods belong to a future CC related mojom.
13 // For now they need to be part of this channel associated interface to
14 // prevent running into message ordering issues (CC trying to access a shared
15 // bitmap before the registration message below made it to the browser).
danakj 2017/02/28 20:34:57 to the display compositor?
16 //
17 // Informs the browser that the child allocated a shared bitmap.
danakj 2017/02/28 20:34:56 should these say display compositor instead of bro
18 AllocatedSharedBitmap(handle<shared_buffer> buffer, gpu.mojom.Mailbox id);
19
20 // Informs the browser that the child deleted a shared bitmap.
21 DeletedSharedBitmap(gpu.mojom.Mailbox id);
22 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698