Chromium Code Reviews| Index: content/common/screen_orientation_messages.h |
| diff --git a/content/common/screen_orientation_messages.h b/content/common/screen_orientation_messages.h |
| index cd8a4b7bb5d50159ad9a2b9dece905ce13e0c64a..790fa3296a55e3f116213bfed6bbdeb874ca8642 100644 |
| --- a/content/common/screen_orientation_messages.h |
| +++ b/content/common/screen_orientation_messages.h |
| @@ -5,6 +5,7 @@ |
| // IPC messages for screen orientation. |
| // Multiply-included message file, hence no include guard. |
| +#include "content/common/content_export.h" |
| #include "ipc/ipc_message_macros.h" |
| #include "third_party/WebKit/public/platform/WebScreenOrientation.h" |
| @@ -19,3 +20,12 @@ IPC_ENUM_TRAITS(blink::WebScreenOrientation) |
| // has changed. |orientation| contains the new screen orientation in degrees. |
| IPC_MESSAGE_CONTROL1(ScreenOrientationMsg_OrientationChange, |
| blink::WebScreenOrientation /* orientation */ ) |
| + |
| +// The renderer process requests the browser process to lock the screen |
| +// orientation to the specified |orientations|. |
| +IPC_MESSAGE_CONTROL1(ScreenOrientationMsg_Lock, |
|
Cris Neckar
2014/02/24 21:02:28
These messages are Renderer->Browser correct?
The
mlamouri (slow - plz ping)
2014/02/24 21:47:50
Didn't know about that convention. Fixed.
|
| + blink::WebScreenOrientations /* orientations */ ) |
| + |
| +// The renderer process requests the browser process to unlock the screen |
| +// orientation. |
| +IPC_MESSAGE_CONTROL0(ScreenOrientationMsg_Unlock) |