| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // IPC messages for device motion. | 5 // IPC messages for device motion. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
| 9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
| 10 #include "ipc/ipc_param_traits.h" | 10 #include "ipc/ipc_param_traits.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 59 |
| 60 // Messages sent from the renderer to the browser. | 60 // Messages sent from the renderer to the browser. |
| 61 | 61 |
| 62 // A RenderView requests to start receiving device motion updates. | 62 // A RenderView requests to start receiving device motion updates. |
| 63 IPC_MESSAGE_CONTROL1(DeviceMotionHostMsg_StartUpdating, | 63 IPC_MESSAGE_CONTROL1(DeviceMotionHostMsg_StartUpdating, |
| 64 int /* render_view_id */) | 64 int /* render_view_id */) |
| 65 | 65 |
| 66 // A RenderView requests to stop receiving device motion updates. | 66 // A RenderView requests to stop receiving device motion updates. |
| 67 IPC_MESSAGE_CONTROL1(DeviceMotionHostMsg_StopUpdating, | 67 IPC_MESSAGE_CONTROL1(DeviceMotionHostMsg_StopUpdating, |
| 68 int /* render_view_id */) | 68 int /* render_view_id */) |
| OLD | NEW |