summaryrefslogtreecommitdiffstats
path: root/ppapi/api/dev/ppp_zoom_dev.idl
blob: 6c0a343729fc813fd237f7cac8b75246c38e24c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Copyright (c) 2011 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);
};