| OLD | NEW |
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 /** | 6 /** |
| 7 * This file defines the <code>PPP_MouseLock</code> interface containing a | 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 | 8 * function that you must implement to receive mouse lock events from the |
| 9 * browser. | 9 * browser. |
| 10 */ | 10 */ |
| 11 | 11 |
| 12 label Chrome { | 12 label Chrome { |
| 13 M16 = 1.0 | 13 M16 = 1.0 |
| 14 }; | 14 }; |
| 15 | 15 |
| 16 /** | 16 /** |
| 17 * The <code>PPP_MouseLock</code> interface contains a function that you must | 17 * The <code>PPP_MouseLock</code> interface contains a function that you must |
| 18 * implement to receive mouse lock events from the browser. | 18 * implement to receive mouse lock events from the browser. |
| 19 */ | 19 */ |
| 20 interface PPP_MouseLock { | 20 interface PPP_MouseLock { |
| 21 /** | 21 /** |
| 22 * MouseLockLost() is called when the instance loses the mouse lock, such as
| 22 * MouseLockLost() is called when the instance loses the mouse lock, such as
|
| 23 * when the user presses the ESC key. | 23 * when the user presses the ESC key. |
| 24 * | 24 * |
| 25 * @param[in] instance A <code>PP_Instance</code> identifying one instance | 25 * @param[in] instance A <code>PP_Instance</code> identifying one instance |
| 26 * of a module. | 26 * of a module. |
| 27 */ | 27 */ |
| 28 void MouseLockLost([in] PP_Instance instance); | 28 void MouseLockLost([in] PP_Instance instance); |
| 29 }; | 29 }; |
| 30 | 30 |
| OLD | NEW |