Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 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 display.mojom; | |
| 6 | |
| 7 import "mojo/common/file_path.mojom"; | |
| 8 import "ui/display/mojo/display_constants.mojom"; | |
| 9 import "ui/display/mojo/display_mode.mojom"; | |
| 10 import "ui/gfx/geometry/mojo/geometry.mojom"; | |
| 11 | |
| 12 // Corresponds to display::DisplaySnapshotMojo. | |
| 13 struct DisplaySnapshotMojo { | |
|
rjkroege
2017/02/17 03:03:51
you will tear out the innards of display::DisplayS
thanhph1
2017/02/21 16:52:17
That sounds good to me!
| |
| 14 int64 display_id; | |
| 15 gfx.mojom.Point origin; | |
| 16 gfx.mojom.Size physical_size; | |
| 17 display.mojom.DisplayConnectionType type; | |
| 18 bool is_aspect_preserving_scaling; | |
| 19 bool has_overscan; | |
| 20 bool has_color_correction_matrix; | |
| 21 string display_name; | |
| 22 mojo.common.mojom.FilePath sys_path; | |
| 23 array<display.mojom.DisplayMode> modes; | |
| 24 array<uint8> edid; | |
| 25 uint64 current_mode_index; | |
| 26 bool has_current_mode; | |
| 27 uint64 native_mode_index; | |
| 28 bool has_native_mode; | |
| 29 int64 product_id; | |
| 30 gfx.mojom.Size maximum_cursor_size; | |
| 31 }; | |
| OLD | NEW |