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

Unified Diff: content/common/screen_orientation_service.mojom

Issue 2391883006: Mojo-ify implementation of screen orientation locking/unlocking. (Closed)
Patch Set: Moved enum mojo definition to content/common due to dependency issue 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/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..a2170856359fd33617c38aa66e67d8bdc7c3b184
--- /dev/null
+++ b/content/common/screen_orientation_service.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 "content/public/common/screen_orientation.mojom";
+
+interface ScreenOrientationService {
Ken Rockot(use gerrit already) 2016/10/14 15:38:16 naming nit: This is not a service, it's an interfa
lunalu1 2016/10/20 23:28:47 Done.
+ LockOrientation(ScreenOrientationLockType orientation) =>
+ (ScreenOrientationLockResult result);
+ UnlockOrientation();
+};

Powered by Google App Engine
This is Rietveld 408576698