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

Side by Side Diff: services/ui/public/interfaces/surface.mojom

Issue 2369793002: WIP: Propagate SurfaceID up window tree hierarchy
Patch Set: Fix input events: EventDispatcher ignores container windows Created 4 years, 2 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 ui.mojom; 5 module ui.mojom;
6 6
7 import "cc/ipc/compositor_frame.mojom"; 7 import "cc/ipc/compositor_frame.mojom";
8 import "cc/ipc/returned_resource.mojom"; 8 import "cc/ipc/returned_resource.mojom";
9 9
10 // A Surface is an interface for receiving CompositorFrame structs. This is a 10 // A Surface is an interface for receiving CompositorFrame structs. This is a
11 // separate interface to allow CompositorFrames to be delivered from 11 // separate interface to allow CompositorFrames to be delivered from
12 // supplementary (not main) threads of a mojo app. 12 // supplementary (not main) threads of a mojo app.
13 interface Surface { 13 interface Surface {
14 // After the submitted frame is drawn for the first time, the receiver will 14 // After the submitted frame is drawn for the first time, the receiver will
15 // respond to the SubmitFrame message. Clients should use this acknowledgement 15 // respond to the SubmitFrame message. Clients should use this acknowledgement
16 // to ratelimit frame submissions. 16 // to ratelimit frame submissions.
17 // TODO(fsamuel): Add local ID and nonce.
17 SubmitCompositorFrame(cc.mojom.CompositorFrame frame) => (); 18 SubmitCompositorFrame(cc.mojom.CompositorFrame frame) => ();
18 }; 19 };
19 20
20 interface SurfaceClient { 21 interface SurfaceClient {
21 ReturnResources(array<cc.mojom.ReturnedResource> resources); 22 ReturnResources(array<cc.mojom.ReturnedResource> resources);
22 }; 23 };
OLDNEW
« no previous file with comments | « services/ui/public/cpp/window_tree_client.cc ('k') | services/ui/public/interfaces/window_manager.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698