summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunchan Cho <yunchan.cho@samsung.com>2013-09-30 20:32:41 +0900
committerSoo-Hyun Choi <sh9.choi@samsung.com>2013-10-01 04:10:10 +0000
commit208169f689b93a9904b40c68ca864c61466c2758 (patch)
tree7d5d87475048681fc6e582c2200350bc3931eb39
parent41e4b865f72f2aee00c72eb0b6e98aa893083be6 (diff)
downloadweb-provider-208169f689b93a9904b40c68ca864c61466c2758.tar.gz
web-provider-208169f689b93a9904b40c68ca864c61466c2758.tar.bz2
web-provider-208169f689b93a9904b40c68ca864c61466c2758.zip
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
-rwxr-xr-xsrc/Core/View/WebView.cpp1
-rwxr-xr-xsrc/Plugin/AppBoxPlugin/AppBoxRenderView.cpp3
2 files changed, 4 insertions, 0 deletions
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