#if BUILDFLAG(IS_TIZEN)
#include <vconf.h>
-#if BUILDFLAG(IS_TIZEN_TV) && !defined(EWK_BRINGUP)
+
#include "components/xwalk_extensions/browser/xwalk_extension_manager.h"
#endif
-#endif
#include "private/ewk_notification_private.h"
switches::kXWalkExtensionPath)) {
return;
}
-#if BUILDFLAG(IS_TIZEN) && !defined(EWK_BRINGUP)
+#if BUILDFLAG(IS_TIZEN)
registry->AddInterface(
base::BindRepeating(&wrt::XWalkExtensionManager::Bind),
content::GetUIThreadTaskRunner({}));
#if BUILDFLAG(IS_TIZEN)
#include <vconf/vconf.h>
-#if BUILDFLAG(IS_TIZEN_TV) && !defined(EWK_BRINGUP)
+
#include "components/xwalk_extensions/renderer/xwalk_extension_renderer_controller.h"
#endif
-#endif
#include "base/command_line.h"
#include "base/path_service.h"
if (!command_line.HasSwitch(switches::kSingleProcess))
LocaleEfl::Initialize();
-#if BUILDFLAG(IS_TIZEN) && !defined(EWK_BRINGUP)
+#if BUILDFLAG(IS_TIZEN)
if (command_line.HasSwitch(switches::kXWalkExtensionPath)) {
- wrt::XWalkExtensionRendererController::GetInstance().SetPrivilegeChecker(
+ wrt::XWalkExtensionRendererController::SetPrivilegeChecker(
base::BindRepeating([]() -> bool {
// TODO(dh81.song)
// necessary to decide whether allow webapis for external URLs
content::RenderFrame* render_frame,
v8::Handle<v8::Context> context,
int world_id) {
-#if BUILDFLAG(IS_TIZEN) && !defined(EWK_BRINGUP)
+#if BUILDFLAG(IS_TIZEN)
if (ShouldRegisterXWalkExtension(world_id))
wrt::XWalkExtensionRendererController::DidCreateScriptContext(context);
#endif
blink::WebFrame* frame,
v8::Handle<v8::Context> context,
int world_id) {
-#if BUILDFLAG(IS_TIZEN) && !defined(EWK_BRINGUP)
+#if BUILDFLAG(IS_TIZEN)
if (ShouldRegisterXWalkExtension(world_id))
wrt::XWalkExtensionRendererController::WillReleaseScriptContext(context);
#endif