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

Side by Side Diff: content/common/device_motion_messages.h

Issue 19398004: Use a direct include of the shared_memory header in content/browser/, content/child/, content/commo… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/clipboard_messages.h ('k') | content/common/gamepad_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
9 #include "ipc/ipc_param_traits.h" 10 #include "ipc/ipc_param_traits.h"
10 #include "ipc/ipc_platform_file.h" 11 #include "ipc/ipc_platform_file.h"
11 #include "base/shared_memory.h"
12 12
13 #define IPC_MESSAGE_START DeviceMotionMsgStart 13 #define IPC_MESSAGE_START DeviceMotionMsgStart
14 14
15 // Messages sent from the renderer to the browser. 15 // Messages sent from the renderer to the browser.
16 16
17 // Asks the browser process to start polling, and return a shared memory 17 // Asks the browser process to start polling, and return a shared memory
18 // handles that will hold the data from the hardware. See 18 // handles that will hold the data from the hardware. See
19 // device_motion_hardware_buffer.h for a description of how synchronization is 19 // device_motion_hardware_buffer.h for a description of how synchronization is
20 // handled. The number of Starts should match the number of Stops. 20 // handled. The number of Starts should match the number of Stops.
21 IPC_MESSAGE_CONTROL0(DeviceMotionHostMsg_StartPolling) 21 IPC_MESSAGE_CONTROL0(DeviceMotionHostMsg_StartPolling)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 */)
OLDNEW
« no previous file with comments | « content/common/clipboard_messages.h ('k') | content/common/gamepad_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698