diff options
author | Grace Kloba <klobag@google.com> | 2009-08-04 17:50:26 -0700 |
---|---|---|
committer | Grace Kloba <klobag@google.com> | 2009-08-05 10:04:35 -0700 |
commit | 0a2bed53555947aea37912d694f9c7c376490808 (patch) | |
tree | 2158bd03d8a4210f6c31df9a934eda22d3cfee28 /WebCore | |
parent | f1c0bbb9bf698154c206e842f94b72d277a96094 (diff) | |
download | external_webkit-0a2bed53555947aea37912d694f9c7c376490808.zip external_webkit-0a2bed53555947aea37912d694f9c7c376490808.tar.gz external_webkit-0a2bed53555947aea37912d694f9c7c376490808.tar.bz2 |
Add SystemInterface to the android_npapi so that we can expose system related
properties. Currently it only has getApplicationDataDirectory.
Diffstat (limited to 'WebCore')
-rw-r--r-- | WebCore/plugins/android/PluginClient.h | 1 | ||||
-rw-r--r-- | WebCore/plugins/android/PluginViewAndroid.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/plugins/android/PluginClient.h b/WebCore/plugins/android/PluginClient.h index 5dc300c..f858eb8 100644 --- a/WebCore/plugins/android/PluginClient.h +++ b/WebCore/plugins/android/PluginClient.h @@ -38,6 +38,7 @@ namespace android { public: virtual ~PluginClient() {} virtual Vector<String> getPluginDirectories() = 0; + virtual String getPluginSharedDataDirectory() = 0; }; } diff --git a/WebCore/plugins/android/PluginViewAndroid.cpp b/WebCore/plugins/android/PluginViewAndroid.cpp index d88692d..022fa35 100644 --- a/WebCore/plugins/android/PluginViewAndroid.cpp +++ b/WebCore/plugins/android/PluginViewAndroid.cpp @@ -89,6 +89,7 @@ extern void ANPPathInterfaceV0_Init(ANPInterface* value); extern void ANPSurfaceInterfaceV0_Init(ANPInterface* value); extern void ANPTypefaceInterfaceV0_Init(ANPInterface* value); extern void ANPWindowInterfaceV0_Init(ANPInterface* value); +extern void ANPSystemInterfaceV0_Init(ANPInterface* value); struct VarProcPair { int enumValue; @@ -110,6 +111,7 @@ static const VarProcPair gVarProcs[] = { { VARPROCLINE(SurfaceInterfaceV0) }, { VARPROCLINE(TypefaceInterfaceV0) }, { VARPROCLINE(WindowInterfaceV0) }, + { VARPROCLINE(SystemInterfaceV0) }, }; /* return true if var was an interface request (error will be set accordingly) |