| 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 by the display compositor immediately upon receiving a |
| 16 // CompositorFrame with a new SurfaceId for the first time. |
| 17 OnSurfaceCreated(cc.mojom.SurfaceId surface_id, |
| 18 gfx.mojom.Size frame_size, |
| 19 float device_scale_factor); |
| 20 }; |
| OLD | NEW |