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

Unified Diff: gpu/ipc/common/gpu_info.mojom

Issue 2133833002: gpu::GPUInfo::GPUDevice struct traits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary changes Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: gpu/ipc/common/gpu_info.mojom
diff --git a/gpu/ipc/common/gpu_info.mojom b/gpu/ipc/common/gpu_info.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..ba927e51080240abf0606ddacac374880f6a4a5e
--- /dev/null
+++ b/gpu/ipc/common/gpu_info.mojom
@@ -0,0 +1,22 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module gpu.mojom;
+
+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.
+
+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.
+ uint32 vendor_id;
Fady Samuel 2016/07/12 01:27:29 nit: spacing.
Alex Z. 2016/07/12 13:58:15 Done.
+ uint32 device_id;
+ bool active;
+ string vendor_string;
+ string device_string;
+};
+
+enum CollectInfoResult {
+ kCollectInfoNone = 0,
+ kCollectInfoSuccess = 1,
+ kCollectInfoNonFatalFailure = 2,
+ kCollectInfoFatalFailure = 3
+};

Powered by Google App Engine
This is Rietveld 408576698