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

Unified Diff: content/public/common/screen_orientation.typemap

Issue 2391883006: Mojo-ify implementation of screen orientation locking/unlocking. (Closed)
Patch Set: Ensure correct ordering between ViewMsg_Resize and screen orientation messages Created 4 years, 2 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: content/public/common/screen_orientation.typemap
diff --git a/content/public/common/screen_orientation.typemap b/content/public/common/screen_orientation.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..4f0cbd00a3678164b5c134bdbbcbdd16576c001c
--- /dev/null
+++ b/content/public/common/screen_orientation.typemap
@@ -0,0 +1,9 @@
+# Copyright 2016 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.
+
+mojom = "//content/public/common/screen_orientation.mojom"
+public_headers = [ "//third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationLockType.h" ]
+traits_headers =
+ [ "//content/public/common/screen_orientation_struct_traits.h" ]
+type_mappings = [ "content.mojom.ScreenOrientationLockType=::blink::WebScreenOrientationLockType" ]

Powered by Google App Engine
This is Rietveld 408576698