diff options
Diffstat (limited to 'ppapi/api/dev/ppp_mouse_lock_dev.idl')
-rwxr-xr-x | ppapi/api/dev/ppp_mouse_lock_dev.idl | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ppapi/api/dev/ppp_mouse_lock_dev.idl b/ppapi/api/dev/ppp_mouse_lock_dev.idl new file mode 100755 index 0000000..0ebeb97 --- /dev/null +++ b/ppapi/api/dev/ppp_mouse_lock_dev.idl @@ -0,0 +1,28 @@ +/* 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. + */ + +/** + * This file defines the <code>PPP_MouseLock_Dev</code> interface. + */ + +label Chrome { + M15 = 0.1 +}; + +/** + * The <code>PPP_MouseLock_Dev</code> interface contains pointers to functions + * that you must implement to receive mouse lock events from the browser. + */ +interface PPP_MouseLock_Dev { + /** + * Called when the instance loses the mouse lock, e.g. because the user + * pressed the ESC key. + * + * @param[in] instance A <code>PP_Instance</code> identifying one instance + * of a module. + */ + void MouseLockLost([in] PP_Instance instance); +}; + |