Cleanup: Only build extensions renderer code when extensions are enabled.
[chromium-blink-merge.git] / ppapi / api / ppp_mouse_lock.idl
blobf54543bd77896065e9b7aa215a865c0892ab6eb7
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 /**
7 * This file defines the <code>PPP_MouseLock</code> interface containing a
8 * function that you must implement to receive mouse lock events from the
9 * browser.
12 label Chrome {
13 M16 = 1.0
16 /**
17 * The <code>PPP_MouseLock</code> interface contains a function that you must
18 * implement to receive mouse lock events from the browser.
20 interface PPP_MouseLock {
21 /**
22 * MouseLockLost() is called when the instance loses the mouse lock, such as
23 * when the user presses the ESC key.
25 * @param[in] instance A <code>PP_Instance</code> identifying one instance
26 * of a module.
28 void MouseLockLost([in] PP_Instance instance);