cc: Added inline to Tile::IsReadyToDraw
[chromium-blink-merge.git] / ppapi / api / dev / ppb_zoom_dev.idl
blob8e03bd06d01e0493a71355294a893b754f44fdef
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 [generate_thunk]
12 label Chrome {
13 M14 = 0.2
16 /**
17 * Zoom interface should only apply to those full-page "plugin-document".
19 interface PPB_Zoom_Dev {
20 /**
21 * Informs the browser about the new zoom factor for the plugin (see
22 * ppp_zoom_dev.h for a description of zoom factor). The plugin should only
23 * call this function if the zoom change was triggered by the browser, it's
24 * only needed in case a plugin can update its own zoom, say because of its
25 * own UI.
27 void ZoomChanged([in] PP_Instance instance,
28 [in] double_t factor);
29 /**
30 * Sets the minimum and maximum zoom factors.
32 void ZoomLimitsChanged([in] PP_Instance instance,
33 [in] double_t minimum_factor,
34 [in] double_t maximum_factor);