[M108 Migration] Fix incorrect module dependancy 08/286708/2
authorGajendra N <gajendra.n@samsung.com>
Wed, 11 Jan 2023 11:45:35 +0000 (17:15 +0530)
committerBot Blink <blinkbot@samsung.com>
Fri, 13 Jan 2023 01:11:21 +0000 (01:11 +0000)
commit99b029fca724088d4b204a0b274b25976f01e449
tree1bcf2ec85ee9f13e1f4dcb4a91db4a04caf37a71
parent2150c54b5c769157a724137e98b967f426fff5ed
[M108 Migration] Fix incorrect module dependancy

Fixing dependency issue : `ui/` shouldn't depend on `content/`, which
may result in build breaks caused by not yet generated mojo files.

IMContentEfl which resides in ui layer had a direct dependancy on
content::RenderWidgetHostImpl, which is incorrect as per chromium
guidelines. Instead, introduce a public helper class as proxy to
route calls at content layer.

Reference: https://review.tizen.org/gerrit/285551

Change-Id: Ia1ecd29fc9badf58e89c997b6c081880de1c4f66
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
tizen_src/chromium_impl/content/browser/renderer_host/rwhv_aura_offscreen_helper_efl.cc
tizen_src/chromium_impl/content/browser/renderer_host/rwhv_aura_offscreen_helper_efl.h
tizen_src/chromium_impl/content/public/browser/render_widget_host_helper.h [new file with mode: 0644]
tizen_src/chromium_impl/ui/ozone/platform/efl/im_context_efl.cc
tizen_src/chromium_impl/ui/ozone/platform/efl/im_context_efl.h