Remove "tilt zoom" and EWK motion code.
authorAntonio Gomes <a1.gomes@samsung.com>
Mon, 18 May 2015 18:28:10 +0000 (14:28 -0400)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
commitf12b0040c052ead19af508876bea53bb8ecd0808
tree9e807adb05cc63f0e61b73e5df8f60c61177166e
parentd22f2a60025d28a6ea3288d3b3adb2a793826501
Remove "tilt zoom" and EWK motion code.

This is how pinch zoom workflow was:

 0- EWebView::SubscribeMotionEvents (motion,zoom smart callback)
 1- EWebView::HandleTouchEvents
    (if > 2 touch points)
 2- wkext_motion_tilt_start
 3- MotionUI:InitializeTiltToZoom
    (set up tilt callback, initialize sensor)
 4- MotionUI::tiltCallback fires which calls
 5- MotionUI::tiltToZoom which fires "motion,zoom" smart trigger)
 6- EWebView::OnMotionZoom calls
 7- RWHVEfl::makePinchZoom
 8- RWHVEfl::HandleGesture
 9- RWHVEfl::FilterMotion
10- wkext_motion_tilt_position_update
(...)

After http://165.213.202.130/gerrit/#/c/79685/ and
http://165.213.202.130/gerrit/#/c/79684/ pinch is
brought up, and works by directly passing Motion
(multi touch) events to chromium.

Now the follow is:

 0- listen to EVAS_CALLBACK_MULTI_DOWN,MOVE,UP from RWHVEfl
 1- RWHVEfl::On{Mouse,Pointer}{Down,Move,Up}
 2- RWHVEfl::ProcessTouchEvents
    (create motion events)
 3- pass events down to chromium

The whole tilt zoom machinery can then be removed.

PS: Note that since http://165.213.202.130/gerrit/#/c/69834/
all MotionUI code path is disabled.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=13002
Reviewed by: Piotr Tworek, arno renevier

Change-Id: If15f48fd2ff199450fcdfab01e0f5f667176fe89
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/ewk/efl_integration/browser/motion/MotionUI.cc [deleted file]
tizen_src/ewk/efl_integration/browser/motion/MotionUI.h [deleted file]
tizen_src/ewk/efl_integration/browser/motion/wkext_motion.cc [deleted file]
tizen_src/ewk/efl_integration/browser/motion/wkext_motion.h [deleted file]
tizen_src/ewk/efl_integration/efl_integration.gypi
tizen_src/ewk/efl_integration/eweb_view.cc