From 0fdbf8c361ea8b3a51c9c81b9e90da145d357a3c Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Thu, 8 Jul 2010 20:33:01 +0000 Subject: Chrome side of making RenderView not special case PluginDocument and making the WebPlugin API more like WebView. Review URL: http://codereview.chromium.org/2827047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51886 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/npapi/bindings/npapi_extensions.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'third_party/npapi') 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, -- cgit v1.1