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

Unified Diff: ui/display/mojo/display_constants.mojom

Issue 2646213002: Write mojom and StructTraits for DisplaySnapshot. (Closed)
Patch Set: use FILE_PATH_LITERAL to create base::FilePath::StringType 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 side-by-side diff with in-line comments
Download patch
Index: ui/display/mojo/display_constants.mojom
diff --git a/ui/display/mojo/display_constants.mojom b/ui/display/mojo/display_constants.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..576d3e5170612f942c5e6321bc3b77466c50c2f1
--- /dev/null
+++ b/ui/display/mojo/display_constants.mojom
@@ -0,0 +1,21 @@
+// Copyright 2017 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 display.mojom;
+
+// Video output types.
kylechar 2017/02/09 15:05:53 Say what non-mojom enum type this corresponds to.
thanhph1 2017/02/10 19:54:31 Done, I put a comment in.
+enum DisplayConnectionType {
+ DISPLAY_CONNECTION_TYPE_NONE = 0,
+ DISPLAY_CONNECTION_TYPE_UNKNOWN = 1,
+ DISPLAY_CONNECTION_TYPE_INTERNAL = 2,
+ DISPLAY_CONNECTION_TYPE_VGA = 4,
+ DISPLAY_CONNECTION_TYPE_HDMI = 8,
+ DISPLAY_CONNECTION_TYPE_DVI = 16,
+ DISPLAY_CONNECTION_TYPE_DISPLAYPORT = 32,
+ DISPLAY_CONNECTION_TYPE_NETWORK = 64,
+ DISPLAY_CONNECTION_TYPE_VIRTUAL = 128,
+
+ // Update this when adding a new type.
+ DISPLAY_CONNECTION_TYPE_LAST = DISPLAY_CONNECTION_TYPE_VIRTUAL
kylechar 2017/02/09 15:05:53 This isn't necessary/wanted here. This type is onl
thanhph1 2017/02/10 19:54:31 Done.
+};

Powered by Google App Engine
This is Rietveld 408576698