AddItemToPropsedList(MENU_ITEM_TYPE_ACTION, MENU_ITEM_SELECT_ALL,
std::string(dgettext("WebKit", "IDS_WEBVIEW_OPT_SELECT_ALL_ABB")));
}
-#if !defined(EWK_BRINGUP)
if (params_.is_draggable) {
AddItemToPropsedList(MENU_ITEM_TYPE_ACTION, MENU_ITEM_DRAG,
std::string(dgettext("WebKit", "IDS_WEBVIEW_OPT_DRAG_AND_DROP")));
}
-#endif
if (params_.is_editable && ClipboardHelperEfl::NumberOfItems() > 0) {
AddItemToPropsedList(MENU_ITEM_TYPE_ACTION, MENU_ITEM_CLIPBOARD,
std::string(dgettext("WebKit", "IDS_WEBVIEW_OPT_CLIPBOARD")));
ClipboardHelperEfl::GetInstance()->OpenClipboardWindow(view, true);
break;
}
-#if !defined(EWK_BRINGUP)
case MENU_ITEM_DRAG: {
RenderViewHost* rvh = web_contents_.GetRenderViewHost();
- rvh->SendDragStartInformationToRenderer();
+ rvh->StartDragging();
context_menu_show_pos_.SetPoint(params_.x, params_.y);
break;
}
-#endif
default:
CustomMenuItemSelected(menu_item);
}