mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-26 13:58:46 +03:00
18 lines
556 B
Plaintext
18 lines
556 B
Plaintext
|
// Copyright 2017 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 viz.mojom;
|
||
|
|
||
|
import "services/viz/public/interfaces/compositing/surface_id.mojom";
|
||
|
import "ui/gfx/geometry/mojo/geometry.mojom";
|
||
|
|
||
|
// Holds information about an embeddable surface. This data can be passed
|
||
|
// across clients to embed the associated surface in another client.
|
||
|
struct SurfaceInfo {
|
||
|
SurfaceId surface_id;
|
||
|
float device_scale_factor;
|
||
|
gfx.mojom.Size size_in_pixels;
|
||
|
};
|
||
|
|