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

Unified Diff: content/common/view_messages.h

Issue 150153004: [WIP] Add Chromium-side support for the Screen Orientation API (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 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
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 20bec60476a247f0039a3a9d0ecf80ad1a20fa91..05f8f3d2c88339e22a36ea5398456799f5f99df8 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -2144,6 +2144,15 @@ IPC_MESSAGE_ROUTED0(ViewHostMsg_HideValidationMessage)
IPC_MESSAGE_ROUTED1(ViewHostMsg_MoveValidationMessage,
gfx::Rect /* anchor rectangle in root view coordinate */)
+// Sent by the renderer to the browser to lock orientations by given
kenneth.r.christiansen 2014/02/06 15:03:12 to request locking ?
ostap 2014/02/06 21:23:28 Done.
+// orientations map.
+IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_LockScreenOrientation,
+ unsigned char /* orientations bit map */,
+ bool /* lock operation result */)
+
+// Sent by the renderer to the browser to release orientation lock.
+IPC_MESSAGE_CONTROL0(ViewHostMsg_UnlockScreenOrientation)
+
#if defined(OS_ANDROID)
// Response to ViewMsg_FindMatchRects.
//

Powered by Google App Engine
This is Rietveld 408576698