From 7fa5069fc51559cc81afa6941fd0f700f80334c7 Mon Sep 17 00:00:00 2001 From: "bunam.jeon" Date: Sun, 14 Apr 2013 15:38:33 +0900 Subject: [PATCH] Remove the video context menu [Title] Remove the video context menu [Issue#] P130413-1739 [Problem] The text is not translated. [Cause] The reference browser does not support this feature. [Solution] Remove the video context menu Change-Id: Ic0c998cfc28baf9424964f5b7b1f89584f15c11d --- Source/WebKit2/UIProcess/API/efl/ewk_view.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp b/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp index 025eb76..9af5e93 100755 --- a/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp +++ b/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp @@ -443,6 +443,8 @@ static Eina_Bool _ewk_view_smart_gesture_start(Ewk_View_Smart_Data* smartData, c IntPoint scenePoint(event->position.x, event->position.y); IntPoint contentsPoint = impl->transformFromScene().mapPoint(scenePoint); WebHitTestResult::Data hitTestResultData = impl->pageProxy->hitTestResultAtPoint(contentsPoint); + if (!hitTestResultData.absoluteMediaURL.isEmpty()) + break; #if ENABLE(TIZEN_DRAG_SUPPORT) // 1. Check to start dragging. if (hitTestResultData.isDragSupport) { @@ -457,8 +459,7 @@ static Eina_Bool _ewk_view_smart_gesture_start(Ewk_View_Smart_Data* smartData, c #endif // 2. Check to show context menu. if (!hitTestResultData.absoluteImageURL.isEmpty() - || !hitTestResultData.absoluteLinkURL.isEmpty() - || !hitTestResultData.absoluteMediaURL.isEmpty()) { + || !hitTestResultData.absoluteLinkURL.isEmpty()) { #if ENABLE(TIZEN_WEBKIT2_FOCUS_RING) if (impl->focusRing) impl->focusRing->show(IntRect(), true); -- 2.7.4