[m42][uBrowser] < and > buttons does not work on select picker.
authorAntonio Gomes <a1.gomes@samsung.com>
Tue, 9 Jun 2015 20:41:01 +0000 (16:41 -0400)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
commit900d5f0ece6343e014ea27df2c99fed433965bd4
tree577a0d5c67053a519aac963448ce7f724f253f6e
parent2694c6f68d95d5b493d88e0f2c5c25b813e53bcd
[m42][uBrowser] < and > buttons does not work on select picker.

Patch brings up the "move to next" and "move to previous"
functionality of the EWK <select> popup.
In order to do that, two messages were brought up:

- EwkFrameMsg_RequestSelectCollectionInformation:
as soon as a Select Popup is created, we send a message
to the renderer to collect the information needed to
enable the "move to next" and "move to previous" UI.

That message is caught by the RenderFrameObserverEfl, and
required information is got. Then another message send back
to the Browser (EwkFrameMsg_RequestSelectCollectionInformationACK),
and the UI is updated accordingly.

Note: the implementation of RFOEfl::OnRequestSelectCollectionInformation
as well as most of the related code was implemented in s-chromium
for M40 branch. Patch make it all available in chromium-efl side.

- EwkFrameMsg_MoveToNextOrPreviousSelectElement:
When "<" or ">" buttons are pressed, we send a message
to the renderer to perform the focus switch. That message
is again caught by the RenderFrameObserverEfl, and the
associated blink::WebView methods are called.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13212
Reviewed by: SeungSeop Park, arno renevier

Change-Id: I402092d836e54b1e7c507d9a2ace65906e63f5f2
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
tizen_src/ewk/efl_integration/browser/web_view_browser_message_filter.cc
tizen_src/ewk/efl_integration/common/render_messages_ewk.h
tizen_src/ewk/efl_integration/eweb_view.cc
tizen_src/ewk/efl_integration/renderer/render_frame_observer_efl.cc
tizen_src/ewk/efl_integration/renderer/render_frame_observer_efl.h