OLD | NEW |
1 /* Copyright (c) 2012 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 * Implementation of the Zoom interface. | 7 * Implementation of the Zoom interface. |
8 */ | 8 */ |
9 | 9 |
10 label Chrome { | 10 label Chrome { |
11 M14 = 0.2 | 11 M14 = 0.2 |
12 }; | 12 }; |
13 | 13 |
14 /** | 14 /** |
15 * Zoom interface should only apply to those full-page "plugin-document". | 15 * Zoom interface should only apply to those full-page "plugin-document". |
16 */ | 16 */ |
17 interface PPB_Zoom_Dev { | 17 interface PPB_Zoom_Dev { |
18 /** | 18 /** |
19 * Informs the browser about the new zoom factor for the plugin (see | 19 * Informs the browser about the new zoom factor for the plugin (see |
20 * ppp_zoom_dev.h for a description of zoom factor). The plugin should only | 20 * ppp_zoom_dev.h for a description of zoom factor). The plugin should only |
21 * call this function if the zoom change was triggered by the browser, it's | 21 * call this function if the zoom change was triggered by the browser, it's |
22 * only needed in case a plugin can update its own zoom, say because of its | 22 * only needed in case a plugin can update its own zoom, say because of its |
23 * own UI. | 23 * own UI. |
24 */ | 24 */ |
25 void ZoomChanged([in] PP_Instance instance, | 25 void ZoomChanged([in] PP_Instance instance, |
26 [in] double_t factor); | 26 [in] double_t factor); |
27 /** | 27 /** |
28 * Sets the mininum and maximium zoom factors. | 28 * Sets the minimum and maximum zoom factors. |
29 */ | 29 */ |
30 void ZoomLimitsChanged([in] PP_Instance instance, | 30 void ZoomLimitsChanged([in] PP_Instance instance, |
31 [in] double_t minimum_factor, | 31 [in] double_t minimum_factor, |
32 [in] double_t maximium_factor); | 32 [in] double_t maximium_factor); |
33 }; | 33 }; |
34 | 34 |
OLD | NEW |