The test in case (see title) flips selection mode on and off
by calling EWebView::HandleTextSelection{Down,Up}, which bubbles
down to SelectionControllerEfl::TextSelection{Down,Up} respectively.
When SelectionControlleEfl::TextSelectionDown is executed it
needs to "emulate" a long press event, so that the selection
machinary works. Also, when ::TextSelectionUp is called, it relies
on ::long_mouse_press_ being true.
Bug http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13056
Reviewed by: a.renevier, djmix.kim
Change-Id: I76353ba95047ae654826c97936b0369d8f809e7d
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
* Source/WebKit2/UIProcess/API/efl/ewk_view.cpp line 614
*/
if (!long_mouse_press_) {
+ long_mouse_press_ = true;
HandleLongPressEventPrivate(gfx::Point(x, y));
return true;
}