diff options
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/npapi/bindings/npapi_extensions.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/third_party/npapi/bindings/npapi_extensions.h b/third_party/npapi/bindings/npapi_extensions.h index 0ce4360..144417b 100644 --- a/third_party/npapi/bindings/npapi_extensions.h +++ b/third_party/npapi/bindings/npapi_extensions.h @@ -1037,10 +1037,12 @@ typedef struct _NPPFindExtensions { /* Returns NULL if the plugin does not support find extensions. */ typedef NPPFindExtensions* (*NPPGetFindExtensionsPtr)(NPP instance); -/* Zooms plugins. 0 means reset, -1 means zoom out, and +1 means zoom in. */ +/* Zooms a plugin to the given factor. If text_only is true, then only the text + * should be zoomed. */ typedef NPError (*NPPZoomPtr) ( NPP instance, - int factor); + float factor, + bool text_only); typedef NPError (*NPPWidgetPropertyChangedPtr) ( NPP instance, |