| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // IPC messages for screen orientation. | |
| 6 // Multiply-included message file, hence no include guard. | |
| 7 | |
| 8 #include "ipc/ipc_message_macros.h" | |
| 9 #include "third_party/WebKit/public/platform/WebScreenOrientation.h" | |
| 10 | |
| 11 #undef IPC_MESSAGE_EXPORT | |
| 12 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | |
| 13 | |
| 14 #define IPC_MESSAGE_START ScreenOrientationMsgStart | |
| 15 | |
| 16 IPC_ENUM_TRAITS(blink::WebScreenOrientation) | |
| 17 | |
| 18 // The browser process informs the renderer process that the screen orientation | |
| 19 // has changed. |orientation| contains the new screen orientation in degrees. | |
| 20 IPC_MESSAGE_CONTROL1(ScreenOrientationMsg_OrientationChange, | |
| 21 blink::WebScreenOrientation /* orientation */ ) | |
| OLD | NEW |