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

Unified Diff: content/common/screen_orientation_service.mojom

Issue 549603003: Create Mojo service for locking/unlocking screen orientation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review, port unittest Created 6 years, 3 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/common/screen_orientation_service.mojom
diff --git a/content/common/screen_orientation_service.mojom b/content/common/screen_orientation_service.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..8aaadc408dfc3e77e3d4f4088d73b2181ba2504f
--- /dev/null
+++ b/content/common/screen_orientation_service.mojom
@@ -0,0 +1,15 @@
+// Copyright 2014 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.
+
+import "content/public/common/screen_orientation.mojom"
+
+module content {
+
+interface ScreenOrientationService {
+ LockOrientation(ScreenOrientationLockType lock_type) =>
+ (ScreenOrientationLockResult result);
+ UnlockOrientation();
+};
+
+}

Powered by Google App Engine
This is Rietveld 408576698