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) {
#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);