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

Unified Diff: device/screen_orientation/public/interfaces/screen_orientation.mojom

Issue 2564653003: [DeviceService] Move screen_orientation.mojom from //content to //device. (Closed)
Patch Set: Address nits from blundell@ Created 4 years 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: device/screen_orientation/public/interfaces/screen_orientation.mojom
diff --git a/device/screen_orientation/public/interfaces/screen_orientation.mojom b/device/screen_orientation/public/interfaces/screen_orientation.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..0cc849e642426c39224521d45b6d033f7077d7a2
--- /dev/null
+++ b/device/screen_orientation/public/interfaces/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 device.mojom;
+
+import "device/screen_orientation/public/interfaces/screen_orientation_lock_types.mojom";
+
+interface ScreenOrientation {
+ LockOrientation(ScreenOrientationLockType orientation) =>
+ (ScreenOrientationLockResult result);
+ UnlockOrientation();
+};

Powered by Google App Engine
This is Rietveld 408576698