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

Side by Side Diff: ppapi/c/dev/ppp_mouse_lock_dev.h

Issue 8295023: Move PPB/PPP_MouseLock out of dev/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and resolve conflicts. Created 9 years, 2 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 | « ppapi/c/dev/ppb_mouse_lock_dev.h ('k') | ppapi/c/ppb_mouse_lock.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
6 /* From dev/ppp_mouse_lock_dev.idl modified Tue Sep 6 16:07:16 2011. */
7
8 #ifndef PPAPI_C_DEV_PPP_MOUSE_LOCK_DEV_H_
9 #define PPAPI_C_DEV_PPP_MOUSE_LOCK_DEV_H_
10
11 #include "ppapi/c/pp_instance.h"
12 #include "ppapi/c/pp_macros.h"
13 #include "ppapi/c/pp_stdint.h"
14
15 #define PPP_MOUSELOCK_DEV_INTERFACE_0_1 "PPP_MouseLock(Dev);0.1"
16 #define PPP_MOUSELOCK_DEV_INTERFACE PPP_MOUSELOCK_DEV_INTERFACE_0_1
17
18 /**
19 * @file
20 * This file defines the <code>PPP_MouseLock_Dev</code> interface.
21 */
22
23
24 /**
25 * @addtogroup Interfaces
26 * @{
27 */
28 /**
29 * The <code>PPP_MouseLock_Dev</code> interface contains pointers to functions
30 * that you must implement to receive mouse lock events from the browser.
31 */
32 struct PPP_MouseLock_Dev {
33 /**
34 * Called when the instance loses the mouse lock, e.g. because the user
35 * pressed the ESC key.
36 *
37 * @param[in] instance A <code>PP_Instance</code> identifying one instance
38 * of a module.
39 */
40 void (*MouseLockLost)(PP_Instance instance);
41 };
42 /**
43 * @}
44 */
45
46 #endif /* PPAPI_C_DEV_PPP_MOUSE_LOCK_DEV_H_ */
47
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_mouse_lock_dev.h ('k') | ppapi/c/ppb_mouse_lock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698