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

Unified Diff: content/common/screen_orientation.mojom

Issue 2391883006: Mojo-ify implementation of screen orientation locking/unlocking. (Closed)
Patch Set: clup 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
« no previous file with comments | « content/common/DEPS ('k') | content/common/screen_orientation_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/screen_orientation.mojom
diff --git a/content/common/screen_orientation.mojom b/content/common/screen_orientation.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..558ba2d7749e00df7afd345da7e6a67dd8846544
--- /dev/null
+++ b/content/common/screen_orientation.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_lock_types.mojom";
+
+interface ScreenOrientation {
+ LockOrientation(blink.mojom.ScreenOrientationLockType orientation) =>
+ (blink.mojom.ScreenOrientationLockResult result);
+ UnlockOrientation();
+};
« no previous file with comments | « content/common/DEPS ('k') | content/common/screen_orientation_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698