Chromium Code Reviews| Index: cc/ipc/display_compositor.mojom |
| diff --git a/cc/ipc/display_compositor.mojom b/cc/ipc/display_compositor.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6cfb3303743d96cd29dc3ffc2d9d8678b4f7bfff |
| --- /dev/null |
| +++ b/cc/ipc/display_compositor.mojom |
| @@ -0,0 +1,20 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +module cc.mojom; |
| + |
| +import "cc/ipc/surface_id.mojom"; |
| +import "ui/gfx/geometry/mojo/geometry.mojom"; |
| + |
| +// The DisplayCompositorClient interface is implemented by the Display |
| +// Compositor Host, a stable, and privileged peer service to the display |
| +// compositor. The display compositor host is either the browser process in |
| +// Chrome or the window server process. |
| +interface DisplayCompositorClient { |
| + // Called when a CompositorFrame is submitted to a new SurfaceId for the first |
| + // time. |
|
rjkroege
2016/10/26 18:37:03
When? i.e.: can the DCH rely on this being called
|
| + OnSurfaceCreated(cc.mojom.SurfaceId surface_id, |
| + gfx.mojom.Size frame_size, |
| + float device_scale_factor); |
| +}; |