OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 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 gpu.mojom; | |
6 | |
7 import "mojo/common/common_custom_types.mojom"; | |
Fady Samuel
2016/07/12 01:27:30
nit: Unnecessary include
Alex Z.
2016/07/12 13:58:15
Done.
| |
8 | |
9 struct GpuDevice { | |
Fady Samuel
2016/07/12 01:27:30
nit: Add comment about where the C++ type is defin
Alex Z.
2016/07/12 13:58:15
Done.
| |
10 uint32 vendor_id; | |
Fady Samuel
2016/07/12 01:27:29
nit: spacing.
Alex Z.
2016/07/12 13:58:15
Done.
| |
11 uint32 device_id; | |
12 bool active; | |
13 string vendor_string; | |
14 string device_string; | |
15 }; | |
16 | |
17 enum CollectInfoResult { | |
18 kCollectInfoNone = 0, | |
19 kCollectInfoSuccess = 1, | |
20 kCollectInfoNonFatalFailure = 2, | |
21 kCollectInfoFatalFailure = 3 | |
22 }; | |
OLD | NEW |