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.
7 * Implementation of the Zoom interface.
17 * Zoom interface should only apply to those full-page "plugin-document".
19 interface PPB_Zoom_Dev
{
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
27 void ZoomChanged
([in] PP_Instance instance
,
28 [in] double_t factor
);
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
);