Fix iOS build for XCode 4.6.
[chromium-blink-merge.git] / ppapi / api / dev / ppb_zoom_dev.idl
blob5e9514e919fa72c36799e04cf3078fb36bd4af63
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 */
6 /**
7 * Implementation of the Zoom interface.
8 */
10 label Chrome {
11 M14 = 0.2
14 /**
15 * Zoom interface should only apply to those full-page "plugin-document".
17 interface PPB_Zoom_Dev {
18 /**
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
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
23 * own UI.
25 void ZoomChanged([in] PP_Instance instance,
26 [in] double_t factor);
27 /**
28 * Sets the mininum and maximium zoom factors.
30 void ZoomLimitsChanged([in] PP_Instance instance,
31 [in] double_t minimum_factor,
32 [in] double_t maximium_factor);