naiveproxy/services/ui/public/interfaces/window_manager_constants.mojom
2018-08-14 22:19:20 +00:00

16 lines
453 B
Plaintext

// Copyright 2015 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 ui.mojom;
import "ui/display/mojo/display.mojom";
import "ui/gfx/geometry/mojo/geometry.mojom";
// Used when the window manager explicitly adds a new display.
struct WmViewportMetrics {
gfx.mojom.Rect bounds_in_pixels;
float device_scale_factor;
float ui_scale_factor;
};