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

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

Issue 2702103002: [ScreenOrientation] De-associate device.mojom.ScreenOrientation from legacy IPC channel.
Patch Set: Synchronize response of lock success with legacy IPC ViewMsg_Resize. Created 3 years, 10 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
« no previous file with comments | « content/test/BUILD.gn ('k') | third_party/WebKit/Source/modules/screen_orientation/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
index d068bcc9c6c1679813c1d2cb00d1f02d7188428e..43542710b0774e0eb4ba588ab27b9e12dad427e3 100644
--- a/device/screen_orientation/public/interfaces/screen_orientation.mojom
+++ b/device/screen_orientation/public/interfaces/screen_orientation.mojom
@@ -11,8 +11,8 @@ import "device/screen_orientation/public/interfaces/screen_orientation_lock_type
// For example, on Android, this is required for Jelly Bean, where there is no
// API to be notified of a screen orientation change of 180 degrees.
interface ScreenOrientation {
- LockOrientation(ScreenOrientationLockType orientation) =>
- (ScreenOrientationLockResult result);
+ LockOrientation(ScreenOrientationLockType lock) =>
+ (ScreenOrientationLockResult result, ScreenOrientationLockType lock);
UnlockOrientation();
// The renderer frame is now using the Screen Orientation API and informs
« no previous file with comments | « content/test/BUILD.gn ('k') | third_party/WebKit/Source/modules/screen_orientation/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698