blob: 07f0ea6eb2576d19645f82e7df0d0bcaf3eae7f0 [file] [log] [blame]
/* 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</code> interface.
*/
label Chrome {
M16 = 1.0
};
/**
* The <code>PPP_MouseLock</code> interface contains pointers to functions
* that you must implement to receive mouse lock events from the browser.
*/
interface PPP_MouseLock {
/**
* 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);
};