[M47_2526] Chromium upversion to m47_2526 branch
[platform/framework/web/chromium-efl.git] / tizen_src / chromium_impl / content / browser / renderer_host / im_context_efl.cc
index fcaf95c..9b75550 100755 (executable)
@@ -14,7 +14,7 @@
 #include "content/browser/renderer_host/render_widget_host_impl.h"
 #include "content/browser/renderer_host/render_widget_host_view_efl.h"
 #include "third_party/icu/source/common/unicode/uchar.h"
-#include "wtf/unicode/icu/UnicodeIcu.h"
+#include "wtf/text/icu/UnicodeIcu.h"
 
 #ifdef IM_CTX_DEBUG
 #define IM_CTX_LOG_CHANNEL LOG(ERROR)
@@ -296,8 +296,12 @@ void IMContextEfl::OnFocusIn() {
   // Enables RenderWidget's IME related events, so that we can be notified
   // when WebKit wants to enable or disable IME.
   RenderWidgetHostImpl *rwhi = GetRenderWidgetHostImpl();
+#if !defined(EWK_BRINGUP)
+// [M47_2526] The SetInputMethodActive API was removed in RenderWidgetHostImpl class
+//            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14513
   if (rwhi)
     rwhi->SetInputMethodActive(true);
+#endif
 }
 
 void IMContextEfl::OnFocusOut() {
@@ -313,8 +317,12 @@ void IMContextEfl::OnFocusOut() {
 
   // Disable RenderWidget's IME related events to save bandwidth.
   RenderWidgetHostImpl *rwhi = GetRenderWidgetHostImpl();
+#if !defined(EWK_BRINGUP)
+// [M47_2526] The SetInputMethodActive API was removed in RenderWidgetHostImpl class
+//            FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14513
   if (rwhi)
     rwhi->SetInputMethodActive(false);
+#endif
 }
 
 void IMContextEfl::ResetIMFContext() {