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

Unified Diff: content/common/view_messages.h

Issue 10388045: Exposes OrientationChangeEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 502360ff28d446b331693be9720262e52a9abef9..a04a0c6267863f0dbfbb3b74900f2aa8937a5081 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -2034,3 +2034,7 @@ IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
int /* plugin_child_id */,
FilePath /* path */,
bool /* is_hung */)
+
+// Screen was rotated. Dispatched to the onorientationchange javascript API.
+IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent,
+ int /* orientation */)

Powered by Google App Engine
This is Rietveld 408576698