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

Side by Side Diff: mojo/services/ozone_drm_gpu/interfaces/ozone_drm_gpu.mojom

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 mojo; 5 module mojo;
6 6
7 import "geometry/interfaces/geometry.mojom"; 7 import "geometry/interfaces/geometry.mojom";
8 8
9 enum DisplayType { 9 enum DisplayType {
10 NONE = 0, 10 NONE = 0,
11 UNKNOWN = 1, 11 UNKNOWN = 1,
12 INTERNAL = 2, 12 INTERNAL = 2,
13 VGA = 4, 13 VGA = 4,
14 HDMI = 8, 14 HDMI = 8,
15 DVI = 16, 15 DVI = 16,
16 DISPLAYPORT = 32, 16 DISPLAYPORT = 32,
17 NETWORK = 64, 17 NETWORK = 64,
18 LAST = NETWORK 18 LAST = NETWORK,
19 }; 19 };
20 20
21 struct DisplayMode { 21 struct DisplayMode {
22 Size size; 22 Size size;
23 bool is_interlaced; 23 bool is_interlaced;
24 float refresh_rate; 24 float refresh_rate;
25 }; 25 };
26 26
27 struct DisplaySnapshot { 27 struct DisplaySnapshot {
28 // The internal display identifier. 28 // The internal display identifier.
(...skipping 17 matching lines...) Expand all
46 46
47 [ServiceName="mojo::OzoneDrmGpu"] 47 [ServiceName="mojo::OzoneDrmGpu"]
48 interface OzoneDrmGpu { 48 interface OzoneDrmGpu {
49 AddGraphicsDevice(string file_path, int32 file_descriptor); 49 AddGraphicsDevice(string file_path, int32 file_descriptor);
50 CreateWindow(int64 widget); 50 CreateWindow(int64 widget);
51 WindowBoundsChanged(int64 widget, Rect bounds); 51 WindowBoundsChanged(int64 widget, Rect bounds);
52 52
53 RefreshNativeDisplays(); 53 RefreshNativeDisplays();
54 ConfigureNativeDisplay(int64 id, DisplayMode mode, Point originhost); 54 ConfigureNativeDisplay(int64 id, DisplayMode mode, Point originhost);
55 }; 55 };
OLDNEW
« no previous file with comments | « mojo/services/notifications/interfaces/notifications.mojom ('k') | mojo/services/prediction/interfaces/prediction.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698