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
3 * found in the LICENSE file.
4 */
5
6/**
7 * Implementation of the Zoom interface.
8 */
9
10label Chrome {
11  M14 = 0.3
12};
13
14/**
15 * Zoom interface should only apply to those full-page "plugin-document".
16 */
17interface PPP_Zoom_Dev {
18  /**
19   * Instruct plug-in 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
21   * 100, i.e. 150% zoom is 1.5.
22   */
23  void Zoom([in] PP_Instance instance,
24            [in] double_t factor,
25            [in] PP_Bool text_only);
26};
27
28