From 208169f689b93a9904b40c68ca864c61466c2758 Mon Sep 17 00:00:00 2001 From: Yunchan Cho Date: Mon, 30 Sep 2013 20:32:41 +0900 Subject: Disable IME feature on webview of dynamic box [Issue#] P130930-03270 [Problem] When users click input area on dynamic box, IME is opened [Cause] Previously, web-provider did not block IME. [Solution] web-provider disables IME feature on webview created for dynamic box Change-Id: I9702a7dacb1efacd0340fbed70f1bdd650ef0a1c --- src/Core/View/WebView.cpp | 1 + src/Plugin/AppBoxPlugin/AppBoxRenderView.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/Core/View/WebView.cpp b/src/Core/View/WebView.cpp index 0da5b3f..4e58d55 100755 --- a/src/Core/View/WebView.cpp +++ b/src/Core/View/WebView.cpp @@ -169,6 +169,7 @@ bool WebView::setBasicSetting(Evas_Object* webview) ewk_settings_javascript_enabled_set(setting, EINA_TRUE); ewk_settings_loads_images_automatically_set(setting, EINA_TRUE); ewk_settings_auto_fitting_set(setting, EINA_FALSE); + ewk_settings_default_keypad_enabled_set(setting, EINA_FALSE); // set visibility ewk_view_page_visibility_state_set( diff --git a/src/Plugin/AppBoxPlugin/AppBoxRenderView.cpp b/src/Plugin/AppBoxPlugin/AppBoxRenderView.cpp index 7239b23..91f2d1d 100755 --- a/src/Plugin/AppBoxPlugin/AppBoxRenderView.cpp +++ b/src/Plugin/AppBoxPlugin/AppBoxRenderView.cpp @@ -435,8 +435,11 @@ void AppBoxRenderView::setWebViewBasicSetting(Evas_Object* webview) return; } Ewk_Settings* setting = ewk_view_settings_get(webview); + // Disable ime features + ewk_settings_default_keypad_enabled_set(setting, EINA_FALSE); // To support transparent background evas_object_color_set(webview, 0, 0, 0, 1); + ewk_view_draws_transparent_background_set(webview, EINA_TRUE); ewk_view_visibility_set(webview, EINA_TRUE); // To know starting point for updating buffer -- cgit v1.2.3