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

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

Issue 2661663002: Add DisplayPlacement/Layout mojoms + StructTraits. (Closed)
Patch Set: Remove empty comments. Created 3 years, 10 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 | « ui/display/mojo/BUILD.gn ('k') | ui/display/mojo/display_layout.typemap » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 // Corresponds to display::DisplayPlacement::Position.
8 enum Position {
9 TOP,
10 RIGHT,
11 BOTTOM,
12 LEFT,
13 };
14
15 // Corresponds to display::DisplayPlacement::OffsetReference.
16 enum OffsetReference {
17 TOP_LEFT,
18 BOTTOM_RIGHT,
19 };
20
21 // Corresponds to display::DisplayPlacement.
22 struct DisplayPlacement {
23 int64 display_id;
24 int64 parent_display_id;
25 Position position;
26 int32 offset;
27 OffsetReference offset_reference;
28 };
29
30 // Corresponds to display::DisplayLayout.
31 struct DisplayLayout {
32 bool mirrored;
33 bool default_unified;
34 int64 primary_display_id;
35 array<DisplayPlacement> placement_list;
36 };
OLDNEW
« no previous file with comments | « ui/display/mojo/BUILD.gn ('k') | ui/display/mojo/display_layout.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698