Added a plugin directory for OSP.
authorKwangYong Choi <ky0.choi@samsung.com>
Sun, 9 Sep 2012 13:14:19 +0000 (22:14 +0900)
committerKwangYong Choi <ky0.choi@samsung.com>
Sun, 9 Sep 2012 13:45:58 +0000 (22:45 +0900)
[Title] Added a plugin directory for OSP.
[Issue#] N/A
[Problem] OSP plugin does not work.
[Cause] WKContextSetAdditionalPluginsDirectory() is not work properly because
        it sets additional plugin directory of only one PluginInfoStore.
        Every WebContext makes its own PluginInfoStore. But it's not possible
        to set the value of every PluginInfoStore.
[Solution] Add the OSP plugin directory to default plugin directories.
[Developer] ky0.choi

Change-Id: If3bb5dc43f8d13cf5d4713c104a215e8802f8f94

Source/WebKit2/UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp

index f8d1096..b52bf27 100644 (file)
@@ -44,6 +44,7 @@ Vector<String> PluginInfoStore::pluginsDirectories()
     // On Tizen Platform, we allow below directory only.
     result.append(homeDirectoryPath() + "/.netscape/plugins");
     result.append("/usr/lib/browser/plugins");
+    result.append("/usr/lib/osp/browser-plugin");
     return result;
 #endif