This reverts commit
93653fb0530c6ddf53f09e2c860dcf129221fa25,
because we do not enable mouse events natively.
Instead, mouse events will be emulated by using touch events.
When EFL has support for using touchscreen and mouse simultaneously,
mouse events will be supported.
Change-Id: Id5b9b92c00ef1ef3c75aa3cc47b3d3e9da90e147
#if ENABLE(TIZEN_DESKTOP_BROWSING)
#define ENABLE_TIZEN_MULTIPLE_SELECT 0
#define ENABLE_TIZEN_LINK_EFFECT 0
-#define ENABLE_TIZEN_LINK_MAGNIFIER 0
#else
#define ENABLE_TIZEN_MULTIPLE_SELECT 1 /*Santosh Mahto (santosh.ma@samsung.com) : enable the feature of handling select element multple selection */
#define ENABLE_TIZEN_LINK_EFFECT 1 /* Sanghyup Lee(sh53.lee@samsung.com) To beep when click link*/
-#define ENABLE_TIZEN_LINK_MAGNIFIER 1 /* Sangyong Park(sy302.park@samsung.com) : feature for link magnifier */
#endif
#define ENABLE_TIZEN_WEBKIT2_POPUP_INTERNAL 1 /* Ryuan Choi(ryuan.choi@samsung.com) : popup implementation for WK2/tizen internal */
#define ENABLE_TIZEN_DOM_TIMER_MIN_INTERVAL_SET 1 /* Gyuyoung Kim(gyuyoung.kim@samsung.com) : Set minimum interval for DOMTimer */
#define ENABLE_TIZEN_ON_LOADING_REQUESTED 1 /*Sungman Kim(ssungmai.kim@samsung.com) : Callback call for signal navigation_policy,decision,requested with navigation type*/
#define ENABLE_TIZEN_CACHE_CONTROL 1 /*Sungman Kim(ssungmai.kim@samsung.com) : Control cache enable or disable mode*/
+#define ENABLE_TIZEN_LINK_MAGNIFIER 1 /* Sangyong Park(sy302.park@samsung.com) : feature for link magnifier */
/* This patch should be removed if multiple UIProcess can exist concurrently.
This will be removed when libsoup can handle multiple process file concurrency problem. */
return findBestZoomableArea(targetNode, targetArea, touchCenter, touchRect, *nodeList.get());
}
-#if ENABLE(GESTURE_EVENTS)
bool EventHandler::adjustGesturePosition(const PlatformGestureEvent& gestureEvent, IntPoint& adjustedPoint)
{
Node* targetNode = 0;
return targetNode;
}
#endif
-#endif
#if ENABLE(CONTEXT_MENUS)
bool EventHandler::sendContextMenuEvent(const PlatformMouseEvent& event)
bool bestClickableNodeForTouchPoint(const IntPoint& touchCenter, const IntSize& touchRadius, IntPoint& targetPoint, Node*& targetNode);
bool bestContextMenuNodeForTouchPoint(const IntPoint& touchCenter, const IntSize& touchRadius, IntPoint& targetPoint, Node*& targetNode);
bool bestZoomableAreaForTouchPoint(const IntPoint& touchCenter, const IntSize& touchRadius, IntRect& targetArea, Node*& targetNode);
-#if ENABLE(GESTURE_EVENTS)
+
bool adjustGesturePosition(const PlatformGestureEvent&, IntPoint& adjustedPoint);
#endif
-#endif
#if ENABLE(CONTEXT_MENUS)
bool sendContextMenuEvent(const PlatformMouseEvent&);
impl->focusRing->hide();
#endif // #if ENABLE(TIZEN_WEBKIT2_FOCUS_RING)
+ if (impl->mouseEventsEnabled())
+ return;
+
#if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
if (wasHandled && impl->pageClient->isTextSelectionMode()) {
if (type == WebEvent::TouchStart)
FIND_PACKAGE(VConf REQUIRED)
FIND_PACKAGE(feedback REQUIRED)
-IF (NOT ENABLE_TIZEN_DESKTOP_BROWSING)
- ADD_DEFINITIONS(-DENABLE_GESTURE_EVENTS=1)
-ENDIF()
+ADD_DEFINITIONS(-DENABLE_GESTURE_EVENTS=1)
ADD_DEFINITIONS(-DWTF_USE_EGL=1)
ADD_DEFINITIONS(-DWTF_USE_OPENGL_ES_2=1)