summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/plugins/android
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-06-01 13:57:34 -0400
committerDerek Sollenberger <djsollen@google.com>2011-06-02 09:43:52 -0400
commitefe71a4f8c22057f6b18aca6c3cd46769d23468c (patch)
tree5cfb3bf21c3097d2cceaca1b0f985ab1cceb3b23 /Source/WebCore/plugins/android
parentb4d178df818e8b6e7a1cfbb0e34bbf7bb9d74ec9 (diff)
downloadexternal_webkit-efe71a4f8c22057f6b18aca6c3cd46769d23468c.zip
external_webkit-efe71a4f8c22057f6b18aca6c3cd46769d23468c.tar.gz
external_webkit-efe71a4f8c22057f6b18aca6c3cd46769d23468c.tar.bz2
Add API to allow plugins to lock their orientation in full-screen mode.
This CL has companion changes in the framework and browser. bug: 3398386 Change-Id: I3427e61e47b66f4142581fb043eeebc613d71b51
Diffstat (limited to 'Source/WebCore/plugins/android')
-rw-r--r--Source/WebCore/plugins/android/PluginViewAndroid.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/plugins/android/PluginViewAndroid.cpp b/Source/WebCore/plugins/android/PluginViewAndroid.cpp
index 8b737ea..78d0217 100644
--- a/Source/WebCore/plugins/android/PluginViewAndroid.cpp
+++ b/Source/WebCore/plugins/android/PluginViewAndroid.cpp
@@ -106,6 +106,7 @@ extern void ANPSurfaceInterfaceV0_Init(ANPInterface* value);
extern void ANPTypefaceInterfaceV0_Init(ANPInterface* value);
extern void ANPWindowInterfaceV0_Init(ANPInterface* value);
extern void ANPWindowInterfaceV1_Init(ANPInterface* value);
+extern void ANPWindowInterfaceV2_Init(ANPInterface* value);
extern void ANPSystemInterfaceV0_Init(ANPInterface* value);
extern void ANPSystemInterfaceV1_Init(ANPInterface* value);
extern void ANPSystemInterfaceV2_Init(ANPInterface* value);
@@ -135,6 +136,7 @@ static const VarProcPair gVarProcs[] = {
{ VARPROCLINE(TypefaceInterfaceV0) },
{ VARPROCLINE(WindowInterfaceV0) },
{ VARPROCLINE(WindowInterfaceV1) },
+ { VARPROCLINE(WindowInterfaceV2) },
{ VARPROCLINE(SystemInterfaceV0) },
{ VARPROCLINE(SystemInterfaceV1) },
{ VARPROCLINE(SystemInterfaceV2) },