Revert "Add specific condition for back-key handle"
authorSoo-Hyun Choi <sh9.choi@samsung.com>
Sat, 28 Sep 2013 06:13:19 +0000 (15:13 +0900)
committerHoseon LEE <hoseon46.lee@samsung.com>
Mon, 14 Oct 2013 11:18:34 +0000 (20:18 +0900)
This reverts commit 7654c550d2d4636c2e0fe968bcd16af0c7951119.

[Remarks] Fix build break!
ewk_view_text_selection_clear() is not ready in RSA WebKit yet.

Change-Id: Ibb546f5e4e495a48a41f0d122d3fbeee044921b5

src/view/webkit/view_logic.cpp

index 64bc056..3a3d750 100644 (file)
@@ -1950,13 +1950,6 @@ void ViewLogic::eaKeyCallback(void* data, Evas_Object* obj, void* eventInfo)
 
     std::string keyName;
     if (keyType == EA_CALLBACK_BACK) {
-        Assert(obj);
-        // Call text selection clear API
-        // In case of current state is selection mode,
-        // application doesn't need to handle back key
-        if (EINA_TRUE == ewk_view_text_selection_clear(obj)) {
-            return;
-        }
         keyName = KeyName::BACK;
     } else if (keyType == EA_CALLBACK_MORE) {
         keyName = KeyName::MENU;