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

Unified Diff: content/common/view_messages.h

Issue 10388045: Exposes OrientationChangeEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Exposes on RVHImpl only. 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 5045b17848fb38e956e44b3807513e292ea34a65..f275b59da89a7ed4e012b57d4122296fc6394d68 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