summaryrefslogtreecommitdiffstats
path: root/third_party/npapi
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-08 20:33:01 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-08 20:33:01 +0000
commit0fdbf8c361ea8b3a51c9c81b9e90da145d357a3c (patch)
treed9816c6046fab903f2695301e13eded622422626 /third_party/npapi
parentf51ffcf1fa06f12c96cc3bcb6c0659c65371fe81 (diff)
downloadchromium_src-0fdbf8c361ea8b3a51c9c81b9e90da145d357a3c.zip
chromium_src-0fdbf8c361ea8b3a51c9c81b9e90da145d357a3c.tar.gz
chromium_src-0fdbf8c361ea8b3a51c9c81b9e90da145d357a3c.tar.bz2
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
Diffstat (limited to 'third_party/npapi')
-rw-r--r--third_party/npapi/bindings/npapi_extensions.h6
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,