| 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.3 | 11 M14 = 0.3 |
| 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 PPP_Zoom_Dev { | 17 interface PPP_Zoom_Dev { |
| 18 /** | 18 /** |
| 19 * Instruct plug-in to zoom according to the given factor and whether the zoom | 19 * Instruct plugin to zoom according to the given factor and whether the zoom |
| 20 * only applies to text only. The scale factor is the percentage divided by | 20 * only applies to text only. The scale factor is the percentage divided by |
| 21 * 100, i.e. 150% zoom is 1.5. | 21 * 100, i.e. 150% zoom is 1.5. |
| 22 */ | 22 */ |
| 23 void Zoom([in] PP_Instance instance, | 23 void Zoom([in] PP_Instance instance, |
| 24 [in] double_t factor, | 24 [in] double_t factor, |
| 25 [in] PP_Bool text_only); | 25 [in] PP_Bool text_only); |
| 26 }; | 26 }; |
| 27 | 27 |
| OLD | NEW |