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

Unified Diff: content/common/screen_orientation_interface.mojom

Issue 2391883006: Mojo-ify implementation of screen orientation locking/unlocking. (Closed)
Patch Set: Modified test for manifest_manager_messages.h Created 4 years, 1 month 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/common/screen_orientation_interface.mojom
diff --git a/content/common/screen_orientation_interface.mojom b/content/common/screen_orientation_interface.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..7013fe449abb39a85efea870d2ac393bee9248bd
--- /dev/null
+++ b/content/common/screen_orientation_interface.mojom
@@ -0,0 +1,13 @@
+// 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.
+
+module content.mojom;
+
+import "third_party/WebKit/public/platform/modules/screen_orientation/screen_orientation.mojom";
+
+interface ScreenOrientation {
mlamouri (slow - plz ping) 2016/11/13 00:26:35 Can we call this screen_orientation.mojom? Would b
lunalu1 2016/11/16 18:46:58 Yes, and renamed the other file screen_orientation
+ LockOrientation(blink.mojom.ScreenOrientationLockType orientation) =>
+ (blink.mojom.ScreenOrientationLockResult result);
+ UnlockOrientation();
+};

Powered by Google App Engine
This is Rietveld 408576698