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

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

Issue 8417034: Add gamepad IPC message definitions, not in-use yet. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « content/common/content_message_generator.h ('k') | ipc/ipc_message_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 // Multiply-included message file, no include guard.
6
7 #include "ipc/ipc_message_macros.h"
8 #include "ipc/ipc_param_traits.h"
9 #include "ipc/ipc_platform_file.h"
10 #include "base/shared_memory.h"
11
12 #define IPC_MESSAGE_START GamepadMsgStart
13
14 // Messages sent from the renderer to the browser.
15
16 // Asks the browser process to start polling, and return a shared memory
17 // handles that will hold the (triple-buffered) data from the hardware.
18 // The number of Starts should match the number of Stops (below).
19 IPC_SYNC_MESSAGE_CONTROL0_1(GamepadHostMsg_StartPolling,
20 base::SharedMemoryHandle /* handle */)
21
22 IPC_SYNC_MESSAGE_CONTROL0_0(GamepadHostMsg_StopPolling)
23
24
25 // Messages sent from browser to renderer.
26
27 IPC_MESSAGE_CONTROL1(GamepadMsg_Updated,
28 int /* read_buffer_index */)
OLDNEW
« no previous file with comments | « content/common/content_message_generator.h ('k') | ipc/ipc_message_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698