[M120 Migration] Fix show IME 55/309755/3
authorfang fengrong <fr.fang@samsung.com>
Tue, 16 Apr 2024 08:10:25 +0000 (16:10 +0800)
committerBot Blink <blinkbot@samsung.com>
Fri, 19 Apr 2024 03:16:25 +0000 (03:16 +0000)
commitca877ec0ec75ebe68d581d8dfce1b8325785759d
tree13eeadb9a794fd7e8bddafc6e42e9ca348c56d40
parent9c55148d8a36e685f5cc2c96ed63088664d9830b
[M120 Migration] Fix show IME

1. [VD] Do not show IME if click is prevented or
scrollbar
Do not 'ShowVirtualKeyboard' when mouse up event occurs
if the previous mouse down event is 'preventDefault'
by JavaScript.

Bug: DF170215-01023

Check if it is mouse click on the scrollbar before
|ShowVirtualKeyboard|.
No need to show VirtualKeyboard if click on the scrollbar.

2. [HBBTV] Trigger auto show IME when webview focus in

The patch is for fixing hbbtv can not auto show IME issue.

Current, only element been set focus can tigger show IME autolly,
but show IME autolly also need based on webview been focused.
If element been focused first, and webview been focused later,
then can not show IME.

So here, add another trigger to show IME autolly.

refer:
https://review.tizen.org/gerrit/#/c/288827

Change-Id: I025fa50f075f3d816467e7b7550e6c3002271d5d
Signed-off-by: fang fengrong <fr.fang@samsung.com>
third_party/blink/public/web/web_view.h
third_party/blink/renderer/core/exported/web_view_impl.cc
third_party/blink/renderer/core/exported/web_view_impl.h
third_party/blink/renderer/core/frame/web_frame_widget_impl.cc
third_party/blink/renderer/core/frame/web_frame_widget_impl.h
third_party/blink/renderer/core/input/event_handler.cc
third_party/blink/renderer/core/input/event_handler.h
third_party/blink/renderer/platform/widget/input/widget_base_input_handler.cc