From acd15f4236768ad10c0cbff8fe329a7cc7a29b22 Mon Sep 17 00:00:00 2001 From: Yuni Jeong Date: Mon, 1 Apr 2013 22:46:13 +0900 Subject: [PATCH] Removed code to clear text selection after copying text by the 'copy' menu of context menu. [Title] Removed code to clear text selection after copying text by the 'copy' menu of context menu. [Issue#] N/A [Problem] After copying text, caret disappear and IME is not hidden. So, user can not enter text in input field. [Cause] There is code to clear text selection after copying text. [Solution] Removed code to clear text selection like copy operation of native app. Change-Id: I7c661662337bb34dd163fea6152bfdc837d66fa0 --- Source/WebCore/page/ContextMenuController.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Source/WebCore/page/ContextMenuController.cpp b/Source/WebCore/page/ContextMenuController.cpp index d24eeb4..4f78aca 100755 --- a/Source/WebCore/page/ContextMenuController.cpp +++ b/Source/WebCore/page/ContextMenuController.cpp @@ -293,10 +293,6 @@ void ContextMenuController::contextMenuItemSelected(ContextMenuItem* item) } case ContextMenuItemTagCopy: { frame->editor()->copy(); -#if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION) - if (frame->selection()) - frame->editor()->command("Unselect").execute(); -#endif break; } case ContextMenuItemTagGoBack: -- 2.7.4