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

Side by Side Diff: ppapi/api/ppb_gamepad.idl

Issue 13142007: IDL: Autogenerate thunk for PPB_Gamepad. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary comments Created 7 years, 8 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
« no previous file with comments | « no previous file | ppapi/generators/idl_thunk.py » ('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 5
6 /** 6 /**
7 * This file defines the <code>PPB_Gamepad</code> interface, which 7 * This file defines the <code>PPB_Gamepad</code> interface, which
8 * provides access to gamepad devices. 8 * provides access to gamepad devices.
9 */ 9 */
10 10
11 [generate_thunk]
12
11 label Chrome { 13 label Chrome {
12 M19 = 1.0 14 M19 = 1.0
13 }; 15 };
14 16
15 /** 17 /**
16 * The data for one gamepad device. 18 * The data for one gamepad device.
17 */ 19 */
18 [assert_size(472)] 20 [assert_size(472)]
19 struct PP_GamepadSampleData { 21 struct PP_GamepadSampleData {
20 /** 22 /**
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 /** 78 /**
77 * Data for an individual gamepad device connected to the system. 79 * Data for an individual gamepad device connected to the system.
78 */ 80 */
79 PP_GamepadSampleData[4] items; 81 PP_GamepadSampleData[4] items;
80 }; 82 };
81 83
82 /** 84 /**
83 * The <code>PPB_Gamepad</code> interface allows retrieving data from 85 * The <code>PPB_Gamepad</code> interface allows retrieving data from
84 * gamepad/joystick devices that are connected to the system. 86 * gamepad/joystick devices that are connected to the system.
85 */ 87 */
86 [version=1.0, macro="PPB_GAMEPAD_INTERFACE"] 88 [version=1.0, macro="PPB_GAMEPAD_INTERFACE", singleton_resource]
87 interface PPB_Gamepad { 89 interface PPB_Gamepad {
88 /** 90 /**
89 * Samples the current state of the connected gamepads. 91 * Samples the current state of the connected gamepads.
90 */ 92 */
91 void Sample( 93 void Sample(
92 [in] PP_Instance instance, 94 [in] PP_Instance instance,
93 [out] PP_GamepadsSampleData data); 95 [out] PP_GamepadsSampleData data);
94
95 }; 96 };
OLDNEW
« no previous file with comments | « no previous file | ppapi/generators/idl_thunk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698