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

Unified Diff: content/common/screen_orientation_messages.h

Issue 164913004: Chromium plumbing for Screen Orientation API orientationchange events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated 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/screen_orientation_messages.h
diff --git a/content/common/screen_orientation_messages.h b/content/common/screen_orientation_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..e11037564ff43cb2ee98ceda80b421c5c8f5f8ec
--- /dev/null
+++ b/content/common/screen_orientation_messages.h
@@ -0,0 +1,15 @@
+// Copyright 2014 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.
+
+// IPC messages for screen orientation.
+// Multiply-included message file, hence no include guard.
+
+#include "ipc/ipc_message_macros.h"
+
+#define IPC_MESSAGE_START ScreenOrientationMsgStart
+
+// The browser process informs the renderer process that the screen orientation
+// has changed. |orientation| contains the new screen orientation in degrees.
+IPC_MESSAGE_CONTROL1(ScreenOrientationMsg_OrientationChange,
+ int /* orientation */ )

Powered by Google App Engine
This is Rietveld 408576698