Refactor async window creation feature to avoid chromium modifications.
authorPiotr Tworek <p.tworek@samsung.com>
Fri, 24 Apr 2015 13:27:31 +0000 (15:27 +0200)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
commit00a484ee7f2ef2e279339ba309c5e8c59706e728
treed1199e99bdab30470e6f8d7878aff7a35affe653
parent1d05064b4588979019f505f5708650c82bff531b
Refactor async window creation feature to avoid chromium modifications.

The goal is to competely get rid of chromium src patch and contain the
feature entirely in tizen_src. To do this we need to create our own
custom WebContentsDelegate class only used by EFL implementation of
WebContentsImpl. Additionally we can no longer use WebContents::Create
call to instantiate the class. Instead, a direct call to
WebContentsImplEfl constructor followed by Init call has to be used.
This makes EWK usage of content API a bit non standard, but allows us to
get by without any modifications to the upstream code.

Change-Id: I2f1397842e7194afc331514986d12b13705af71c
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
14 files changed:
tizen_src/chromium_impl/content/browser/web_contents/web_contents_impl_efl.cc
tizen_src/chromium_impl/content/browser/web_contents/web_contents_impl_efl.h
tizen_src/chromium_impl/content/content_efl.gypi
tizen_src/chromium_impl/content/public/browser/web_contents_delegate_efl.cc [deleted file]
tizen_src/chromium_impl/content/public/browser/web_contents_efl_delegate.h [new file with mode: 0644]
tizen_src/ewk/efl_integration/efl_integration.gypi
tizen_src/ewk/efl_integration/eweb_view.cc
tizen_src/ewk/efl_integration/eweb_view.h
tizen_src/ewk/efl_integration/private/ewk_policy_decision_private.cc
tizen_src/ewk/efl_integration/private/ewk_policy_decision_private.h
tizen_src/ewk/efl_integration/web_contents_delegate_efl.cc
tizen_src/ewk/efl_integration/web_contents_delegate_efl.h
tizen_src/ewk/efl_integration/web_contents_efl_delegate_ewk.cc [new file with mode: 0644]
tizen_src/ewk/efl_integration/web_contents_efl_delegate_ewk.h [new file with mode: 0644]