Pepper_31_C_interfaces
Public Attributes | List of all members
PPB_Zoom_Dev_0_2 Struct Reference

#include <ppb_zoom_dev.h>

Collaboration diagram for PPB_Zoom_Dev_0_2:
Collaboration graph

Public Attributes

void(* ZoomChanged )(PP_Instance instance, double factor)
 
void(* ZoomLimitsChanged )(PP_Instance instance, double minimum_factor, double maximum_factor)
 

Detailed Description

Zoom interface should only apply to those full-page "plugin-document".

Definition at line 31 of file ppb_zoom_dev.h.

Member Data Documentation

void(* PPB_Zoom_Dev_0_2::ZoomChanged)(PP_Instance instance, double factor)

Informs the browser about the new zoom factor for the plugin (see ppp_zoom_dev.h for a description of zoom factor). The plugin should only call this function if the zoom change was triggered by the browser, it's only needed in case a plugin can update its own zoom, say because of its own UI.

Definition at line 39 of file ppb_zoom_dev.h.

void(* PPB_Zoom_Dev_0_2::ZoomLimitsChanged)(PP_Instance instance, double minimum_factor, double maximum_factor)

Sets the minimum and maximum zoom factors.

Definition at line 43 of file ppb_zoom_dev.h.


The documentation for this struct was generated from the following file: