mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
23 lines
556 B
Plaintext
23 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 gfx.mojom;
|
|
|
|
import "ui/gfx/geometry/mojo/geometry.mojom";
|
|
|
|
union CALayerContent {
|
|
uint32 ca_context_id;
|
|
handle io_surface_mach_port;
|
|
};
|
|
|
|
// gfx::CALayerParams
|
|
struct CALayerParams {
|
|
// TODO(676224): Use preprocessor to restrict platform-specific members to
|
|
// desired platform.
|
|
bool is_empty;
|
|
CALayerContent content;
|
|
gfx.mojom.Size pixel_size;
|
|
float scale_factor;
|
|
};
|