summaryrefslogtreecommitdiffstats
path: root/WebKit/android/plugins/ANPSurfaceInterface.cpp
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2009-08-07 11:17:15 -0400
committerDerek Sollenberger <djsollen@google.com>2009-08-07 11:17:15 -0400
commit41258a73c8673221dc99884672b8643987e1747e (patch)
treec2c2ce4aa9f364717beea7ad884c8f267ca02897 /WebKit/android/plugins/ANPSurfaceInterface.cpp
parentf23992e0665067a10a2769e62c9a41574793f7f2 (diff)
downloadexternal_webkit-41258a73c8673221dc99884672b8643987e1747e.zip
external_webkit-41258a73c8673221dc99884672b8643987e1747e.tar.gz
external_webkit-41258a73c8673221dc99884672b8643987e1747e.tar.bz2
enabling plugin surfaces to manually scale based on the zoom level.
Diffstat (limited to 'WebKit/android/plugins/ANPSurfaceInterface.cpp')
-rw-r--r--WebKit/android/plugins/ANPSurfaceInterface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebKit/android/plugins/ANPSurfaceInterface.cpp b/WebKit/android/plugins/ANPSurfaceInterface.cpp
index 835f45a..20df7f8 100644
--- a/WebKit/android/plugins/ANPSurfaceInterface.cpp
+++ b/WebKit/android/plugins/ANPSurfaceInterface.cpp
@@ -33,11 +33,11 @@
using namespace WebCore;
-static ANPSurface* anp_newSurface(NPP instance, ANPSurfaceType type) {
+static ANPSurface* anp_newSurface(NPP instance, ANPSurfaceType type, bool fixedSize) {
if (instance && instance->ndata) {
PluginView* view = static_cast<PluginView*>(instance->ndata);
PluginWidgetAndroid* widget = view->platformPluginWidget();
- return widget->createSurface(type);
+ return widget->createSurface(type, fixedSize);
}
return NULL;
}