Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module cc.mojom; | |
| 6 | |
| 7 import "cc/ipc/surface_id.mojom"; | |
| 8 import "ui/gfx/geometry/mojo/geometry.mojom"; | |
| 9 | |
| 10 // The DisplayCompositorClient interface is implemented by the Display | |
| 11 // Compositor Host, a stable, and privileged peer service to the display | |
| 12 // compositor. The display compositor host is either the browser process in | |
| 13 // Chrome or the window server process. | |
| 14 interface DisplayCompositorClient { | |
| 15 // Called when a CompositorFrame is submitted to a new SurfaceId for the first | |
| 16 // time. | |
|
rjkroege
2016/10/26 18:37:03
When? i.e.: can the DCH rely on this being called
| |
| 17 OnSurfaceCreated(cc.mojom.SurfaceId surface_id, | |
| 18 gfx.mojom.Size frame_size, | |
| 19 float device_scale_factor); | |
| 20 }; | |
| OLD | NEW |