[dev/m42][uBrowser] Wrong output on double tap.
authorAntonio Gomes <a1.gomes@samsung.com>
Tue, 12 May 2015 19:21:23 +0000 (15:21 -0400)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
commit8a6e83e4cf53a830f8ddcd650d16411e28816930
tree70ad66ba54db0ff2982000843f71f39b3e4df05e
parent36d3406e5e744740afea97842a114b0babfdb09c
[dev/m42][uBrowser] Wrong output on double tap.

RWHVEfl makes use of chromium's GestureRecognizer class
in order to provide gestures support. GestureRecognizer
itself is abstract and gets concrete by its child,
GestureRecognizerImpl, which holds and encapsulates
a GestureProviderAura instance. Problem is that GestureProviderAura
has 'double tap' support disabled by default.

Patch provides the following solution:

- Specialize GestureRecognizerImpl into a class called
  GestureRecognizerImplEfl. The later overrides and makes
  ::GetGestureProviderForConsumer public, granting access to
  its GestureProviderAura instance.
- Override GestureRecognizer::Create method, and instantiate
  a GestureRecognizerImplEfl object (instead of GestureRecognizerImplEfl).

Once accessible, calling GestureProviderAura::SetDoubleTapSupportForPlatformEnabled
fixes the problem.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12717
Change-Id: I81d5a06b80a453acd5b58d68a38e55648822a8b3
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
tizen_src/chromium_impl/content/browser/renderer_host/render_widget_host_view_efl.cc
tizen_src/chromium_impl/ui/events/gestures/gesture_recognizer_impl_efl.cc [new file with mode: 0644]
tizen_src/chromium_impl/ui/events/gestures/gesture_recognizer_impl_efl.h [new file with mode: 0644]
tizen_src/chromium_impl/ui/events/gestures/gesture_recognizer_impl_override.cc [new file with mode: 0644]
tizen_src/chromium_impl/ui/ui_targets_efl.gyp