| /* Copyright (c) 2012 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. |
| */ |
| |
| /** |
| * Implementation of the Zoom interface. |
| */ |
| |
| label Chrome { |
| M14 = 0.3 |
| }; |
| |
| /** |
| * Zoom interface should only apply to those full-page "plugin-document". |
| */ |
| interface PPP_Zoom_Dev { |
| /** |
| * Instruct plug-in to zoom according to the given factor and whether the zoom |
| * only applies to text only. The scale factor is the percentage divided by |
| * 100, i.e. 150% zoom is 1.5. |
| */ |
| void Zoom([in] PP_Instance instance, |
| [in] double_t factor, |
| [in] PP_Bool text_only); |
| }; |
| |