Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: ui/display/mojo/display.mojom

Issue 2894763003: Updates display.mojom to include more of Display (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ui/display/mojo/display_struct_traits.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module display.mojom; 5 module display.mojom;
6 6
7 import "ui/gfx/geometry/mojo/geometry.mojom"; 7 import "ui/gfx/geometry/mojo/geometry.mojom";
8 8
9 // Corresponds to display::Display::Rotation. 9 // Corresponds to display::Display::Rotation.
10 enum Rotation { 10 enum Rotation {
11 VALUE_0, 11 VALUE_0,
12 VALUE_90, 12 VALUE_90,
13 VALUE_180, 13 VALUE_180,
14 VALUE_270, 14 VALUE_270,
15 }; 15 };
16 16
17 // Corresponds to display::Display::TouchSupport. 17 // Corresponds to display::Display::TouchSupport.
18 enum TouchSupport { 18 enum TouchSupport {
19 UNKNOWN, 19 UNKNOWN,
20 AVAILABLE, 20 AVAILABLE,
21 UNAVAILABLE, 21 UNAVAILABLE,
22 }; 22 };
23 23
24 // Corresponds to display::Display. 24 // Corresponds to display::Display.
25 struct Display { 25 struct Display {
26 int64 id; 26 int64 id;
27 gfx.mojom.Rect bounds; 27 gfx.mojom.Rect bounds;
28 gfx.mojom.Size size_in_pixels;
28 gfx.mojom.Rect work_area; 29 gfx.mojom.Rect work_area;
29 float device_scale_factor; 30 float device_scale_factor;
30 Rotation rotation; 31 Rotation rotation;
31 TouchSupport touch_support; 32 TouchSupport touch_support;
32 gfx.mojom.Size maximum_cursor_size; 33 gfx.mojom.Size maximum_cursor_size;
34 int32 color_depth;
35 int32 depth_per_component;
36 bool is_monochrome;
33 }; 37 };
OLDNEW
« no previous file with comments | « no previous file | ui/display/mojo/display_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698