OLD | NEW |
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/public/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, |
(...skipping 27 matching lines...) Expand all Loading... |
45 }; | 45 }; |
46 | 46 |
47 interface OzoneDrmGpu { | 47 interface OzoneDrmGpu { |
48 AddGraphicsDevice(string file_path, int32 file_descriptor); | 48 AddGraphicsDevice(string file_path, int32 file_descriptor); |
49 CreateWindow(int64 widget); | 49 CreateWindow(int64 widget); |
50 WindowBoundsChanged(int64 widget, Rect bounds); | 50 WindowBoundsChanged(int64 widget, Rect bounds); |
51 | 51 |
52 RefreshNativeDisplays(); | 52 RefreshNativeDisplays(); |
53 ConfigureNativeDisplay(int64 id, DisplayMode mode, Point originhost); | 53 ConfigureNativeDisplay(int64 id, DisplayMode mode, Point originhost); |
54 }; | 54 }; |
OLD | NEW |