From: Marcin Niesluchowski Date: Fri, 11 Mar 2016 09:02:18 +0000 (+0100) Subject: Adjust DynamicPlugin* funtions to library version 1 X-Git-Tag: accepted/tizen/common/20160524.150607~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac236d801024a78c485bf22c57f8f8d731e14121;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Adjust DynamicPlugin* funtions to library version 1 Along with ewk_context_tizen_app_id_set function introduction by chromium-efl, newer version of DynamicPlugin library has been provided. See sample file ([1]) of chromium-efl ([2]) repository. [1] tizen_src/ewk/unittest/resources/ewk_context/injected_bundle/chromium/bundle_sample.cc [2] https://review.tizen.org/gerrit/#/admin/projects/platform/framework/web/chromium-efl --- diff --git a/runtime/renderer/injected_bundle.cc b/runtime/renderer/injected_bundle.cc index c8177d5..c6d2325 100755 --- a/runtime/renderer/injected_bundle.cc +++ b/runtime/renderer/injected_bundle.cc @@ -102,6 +102,10 @@ class BundleGlobalData { } // namespace runtime +extern "C" unsigned int DynamicPluginVersion(void) { + return 1; +} + extern "C" void DynamicSetWidgetInfo(const char* tizen_id) { SCOPE_PROFILE(); LOGGER(DEBUG) << "InjectedBundle::DynamicSetWidgetInfo !!" << tizen_id; @@ -112,9 +116,6 @@ extern "C" void DynamicSetWidgetInfo(const char* tizen_id) { extern "C" void DynamicPluginStartSession(const char* tizen_id, v8::Handle context, int routing_handle, - double /*scale*/, - const char* /*bundle*/, - const char* /*theme*/, const char* base_url) { SCOPE_PROFILE();