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..255d9720350477ca8fa7dffdda8a8c143a2d97f3 |
| --- /dev/null |
| +++ b/cc/ipc/display_compositor.mojom |
| @@ -0,0 +1,16 @@ |
| +// 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"; |
| + |
| +interface DisplayCompositorClient { |
| + // Called when a CompositorFrame is submitted to a new SurfaceId for the first |
| + // time. |
|
rjkroege
2016/10/26 17:48:19
drive by ask for more wordy docs.
Can you explain
|
| + OnSurfaceCreated(cc.mojom.SurfaceId surface_id, |
| + gfx.mojom.Size frame_size, |
| + float device_scale_factor); |
| +}; |