[WRTjs] Seperate runtime dependency of XWalkExtension 31/287731/29
authorDongHyun Song <dh81.song@samsung.com>
Fri, 3 Feb 2023 07:18:04 +0000 (16:18 +0900)
committerBot Blink <blinkbot@samsung.com>
Wed, 8 Mar 2023 09:54:00 +0000 (09:54 +0000)
commit739805e45278fccfb20fb66482800625097ad3ee
tree8b7ea5057a8f88a5cbd05ca71d5636ef0183dd6d
parent182a74c07ed353efef904c2925d3bbcfdec78dd3
[WRTjs] Seperate runtime dependency of XWalkExtension

This patch refactors to remove WRT dependency from XWalkExtension
classes to make a common module for other runtimes. Specially,
this is for Hbb runtime by ewk interface later.

Delegation classes, named as WRTXwalkExtension* will have roles of
runtime dependent behaviors.

Change-Id: I5a39b2e9cb26708953541b69de8c0830330b3f8e
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
17 files changed:
wrt/filenames.gni
wrt/src/app/tv/wrt_main_delegate_tv.cc
wrt/src/app/wrt_main_delegate.cc
wrt/src/browser/api/wrt_api_xwalk_extension.cc
wrt/src/browser/tv/native_web_runtime_delegate_tv.cc
wrt/src/browser/tv/wrt_xwalk_extension_browser_tv.cc [moved from wrt/xwalk_extensions/browser/tv/xwalk_extension_manager_tv.cc with 73% similarity]
wrt/src/browser/tv/wrt_xwalk_extension_browser_tv.h [moved from wrt/xwalk_extensions/browser/tv/xwalk_extension_manager_tv.h with 65% similarity]
wrt/src/browser/wrt_xwalk_extension_browser.cc [new file with mode: 0644]
wrt/src/browser/wrt_xwalk_extension_browser.h [new file with mode: 0644]
wrt/src/renderer/tv/wrt_renderer_client_tv.cc
wrt/src/renderer/wrt_renderer_client.cc
wrt/xwalk_extensions/browser/xwalk_extension.cc
wrt/xwalk_extensions/browser/xwalk_extension_manager.cc
wrt/xwalk_extensions/browser/xwalk_extension_manager.h
wrt/xwalk_extensions/common/xwalk_extension_browser_delegate.h [new file with mode: 0644]
wrt/xwalk_extensions/renderer/xwalk_extension_renderer_controller.cc
wrt/xwalk_extensions/renderer/xwalk_extension_renderer_controller.h