[M120 Migration][HBBTV] Dispatch key events through associated event dispatcher only 40/306440/4
authorNishitha S <n.saravanan@samsung.com>
Wed, 21 Feb 2024 10:21:18 +0000 (15:51 +0530)
committerBot Blink <blinkbot@samsung.com>
Mon, 26 Feb 2024 08:22:44 +0000 (08:22 +0000)
commit58e7150700e5fd85f54d67bfc6e2a0f1b8ca9d59
tree23dbfe6cf344beaeae4c1214e714951d172822b8
parent5aa93485fbefca9268a27ad1edc72efffe4df821
[M120 Migration][HBBTV] Dispatch key events through associated event dispatcher only

HBBTV app launches single ecore/elm window but two ewk_views within the
same window. The app can send key events through ewk api to any of the
ewk_view and they need to be dispatched irrespective of their focus state.
Currently the unfocused ewk_view is not dispatching event because of way
event forwarding logic is written in ozone layer.

This patch makes necessary changes to check the associated dispatcher handle
instead of CanDispatchEvent, also keeps both aura windows in focus parallely.
This change is only for HBBTV.

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

Change-Id: Iecb83a0f22665edd03795bd4745d69c88453395c
Signed-off-by: nishitha <n.saravanan@samsung.com>
tizen_src/chromium_impl/content/browser/renderer_host/rwhv_aura_offscreen_helper_efl.cc
tizen_src/chromium_impl/ui/ozone/platform/efl/efl_event_handler.cc
tizen_src/chromium_impl/ui/ozone/platform/efl/efl_event_handler.h
tizen_src/chromium_impl/ui/ozone/platform/efl/efl_window.cc
tizen_src/chromium_impl/ui/ozone/platform/efl/im_context_efl.cc
tizen_src/chromium_impl/ui/ozone/platform/efl/im_context_efl.h
ui/events/event.h
ui/events/platform/platform_event_source.cc