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

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

Issue 2646213002: Write mojom and StructTraits for DisplaySnapshot. (Closed)
Patch Set: Rebase. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/display/mojo/BUILD.gn ('k') | ui/display/mojo/display_constants.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7ea2469dde0e4299aadba330dd2dcd7c70d178c4
--- /dev/null
+++ b/ui/display/mojo/display_constants.mojom
@@ -0,0 +1,18 @@
+// 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;
+
+// Corresponding to display::DisplayConnectionType.
+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,
+};
« no previous file with comments | « ui/display/mojo/BUILD.gn ('k') | ui/display/mojo/display_constants.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698