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 */ 5 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. 10 */ 11 12 label Chrome { 13 M16 = 1.0 14 }; 15 16 /** 17 * The <code>PPP_MouseLock</code> interface contains a function that you must 18 * implement to receive mouse lock events from the browser. 19 */ 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. 24 * 25 * @param[in] instance A <code>PP_Instance</code> identifying one instance 26 * of a module. 27 */ 28 void MouseLockLost([in] PP_Instance instance); 29 }; 30 31