Extend relocation packing to cover arm64.
[chromium-blink-merge.git] / ppapi / c / ppp_mouse_lock.h
blob4c9b2f28f5b4edf630c4101bb05c526260924735
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
3 * found in the LICENSE file.
4 */
6 /* From ppp_mouse_lock.idl modified Wed Dec 21 19:08:34 2011. */
8 #ifndef PPAPI_C_PPP_MOUSE_LOCK_H_
9 #define PPAPI_C_PPP_MOUSE_LOCK_H_
11 #include "ppapi/c/pp_instance.h"
12 #include "ppapi/c/pp_macros.h"
13 #include "ppapi/c/pp_stdint.h"
15 #define PPP_MOUSELOCK_INTERFACE_1_0 "PPP_MouseLock;1.0"
16 #define PPP_MOUSELOCK_INTERFACE PPP_MOUSELOCK_INTERFACE_1_0
18 /**
19 * @file
20 * This file defines the <code>PPP_MouseLock</code> interface containing a
21 * function that you must implement to receive mouse lock events from the
22 * browser.
26 /**
27 * @addtogroup Interfaces
28 * @{
30 /**
31 * The <code>PPP_MouseLock</code> interface contains a function that you must
32 * implement to receive mouse lock events from the browser.
34 struct PPP_MouseLock_1_0 {
35 /**
36 * MouseLockLost() is called when the instance loses the mouse lock, such as
37 * when the user presses the ESC key.
39 * @param[in] instance A <code>PP_Instance</code> identifying one instance
40 * of a module.
42 void (*MouseLockLost)(PP_Instance instance);
45 typedef struct PPP_MouseLock_1_0 PPP_MouseLock;
46 /**
47 * @}
50 #endif /* PPAPI_C_PPP_MOUSE_LOCK_H_ */