Commit 7f5969dd authored by scottmg@chromium.org's avatar scottmg@chromium.org

Add gamepad IPC message definitions, not in-use yet.

Part of larger patch here http://codereview.chromium.org/8345027/ which is
updated with remaining pieces.

BUG=79050
TEST=


Review URL: http://codereview.chromium.org/8417034

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107765 0039d316-1c4b-4281-b951-d872f2087c98
parent f6e6d2e3
......@@ -16,6 +16,7 @@
#include "content/common/drag_messages.h"
#include "content/common/file_system_messages.h"
#include "content/common/file_utilities_messages.h"
#include "content/common/gamepad_messages.h"
#include "content/common/geolocation_messages.h"
#include "content/common/gpu/gpu_messages.h"
#include "content/common/indexed_db_messages.h"
......
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Multiply-included message file, no include guard.
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_param_traits.h"
#include "ipc/ipc_platform_file.h"
#include "base/shared_memory.h"
#define IPC_MESSAGE_START GamepadMsgStart
// Messages sent from the renderer to the browser.
// Asks the browser process to start polling, and return a shared memory
// handles that will hold the (triple-buffered) data from the hardware.
// The number of Starts should match the number of Stops (below).
IPC_SYNC_MESSAGE_CONTROL0_1(GamepadHostMsg_StartPolling,
base::SharedMemoryHandle /* handle */)
IPC_SYNC_MESSAGE_CONTROL0_0(GamepadHostMsg_StopPolling)
// Messages sent from browser to renderer.
IPC_MESSAGE_CONTROL1(GamepadMsg_Updated,
int /* read_buffer_index */)
......@@ -97,6 +97,7 @@ enum IPCMessageStart {
ChromeBenchmarkingMsgStart,
IntentsMsgStart,
JavaBridgeMsgStart,
GamepadMsgStart,
LastIPCMsgStart // Must come last.
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment