OLD | NEW |
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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_Dev</code> interface. | 7 * This file defines the <code>PPP_MouseLock</code> interface. |
8 */ | 8 */ |
9 | 9 |
10 label Chrome { | 10 label Chrome { |
11 M15 = 0.1 | 11 M16 = 1.0 |
12 }; | 12 }; |
13 | 13 |
14 /** | 14 /** |
15 * The <code>PPP_MouseLock_Dev</code> interface contains pointers to functions | 15 * The <code>PPP_MouseLock</code> interface contains pointers to functions |
16 * that you must implement to receive mouse lock events from the browser. | 16 * that you must implement to receive mouse lock events from the browser. |
17 */ | 17 */ |
18 interface PPP_MouseLock_Dev { | 18 interface PPP_MouseLock { |
19 /** | 19 /** |
20 * Called when the instance loses the mouse lock, e.g. because the user | 20 * Called when the instance loses the mouse lock, e.g. because the user |
21 * pressed the ESC key. | 21 * pressed the ESC key. |
22 * | 22 * |
23 * @param[in] instance A <code>PP_Instance</code> identifying one instance | 23 * @param[in] instance A <code>PP_Instance</code> identifying one instance |
24 * of a module. | 24 * of a module. |
25 */ | 25 */ |
26 void MouseLockLost([in] PP_Instance instance); | 26 void MouseLockLost([in] PP_Instance instance); |
27 }; | 27 }; |
28 | 28 |
OLD | NEW |