[M40] Enabling ViewHostMsg_TextInputStateChanged
authorYoungsoo Choi <kenshin.choi@samsung.com>
Wed, 12 Nov 2014 12:13:11 +0000 (21:13 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
ViewHostMsg_TextInputStateChanged needs to be enabled
to update text input state.

Together with: I1dc9519a08e6c17593b961755fc33fc125bdeac7

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8818
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: Ia6f60691dcc316f6b064e5efcd421fded4e95e10
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
tizen_src/impl/browser/renderer_host/render_widget_host_view_efl.cc
tizen_src/impl/browser/renderer_host/render_widget_host_view_efl.h

index f6429d01538b4ead028543d6185256ba32526cd1..5bd69c1a75fc352afdf0fd0732526f92d090e059 100644 (file)
@@ -388,6 +388,7 @@ bool RenderWidgetHostViewEfl::OnMessageReceived(const IPC::Message& message) {
     IPC_MESSAGE_HANDLER(EwkHostMsg_ReadMHTMLData, OnMHTMLContentGet)
     IPC_MESSAGE_HANDLER(EwkHostMsg_DidChangePageScaleFactor, OnDidChangePageScaleFactor)
     IPC_MESSAGE_HANDLER(EwkHostMsg_DidChangePageScaleRange, OnDidChangePageScaleRange)
+    IPC_MESSAGE_HANDLER(ViewHostMsg_TextInputStateChanged, OnTextInputStateChanged)
 #if !defined(EWK_BRINGUP)
     IPC_MESSAGE_HANDLER(ViewHostMsg_TextInputInFormStateChanged, OnTextInputInFormStateChanged)
 #endif
@@ -604,9 +605,7 @@ void RenderWidgetHostViewEfl::TextInputTypeChanged(ui::TextInputType type,
   NOTIMPLEMENTED();
 }
 
-#if !defined(EWK_BRINGUP)
-// [M40] Need to migrate!!!
-void RenderWidgetHostViewEfl::TextInputStateChanged(
+void RenderWidgetHostViewEfl::OnTextInputStateChanged(
     const ViewHostMsg_TextInputState_Params& params) {
   if (!params.show_ime_if_needed && !eweb_view()->GetSettings()->useKeyPadWithoutUserAction())
     return;
@@ -630,7 +629,6 @@ void RenderWidgetHostViewEfl::TextInputStateChanged(
         params.type == ui::TEXT_INPUT_TYPE_CONTENT_EDITABLE);
   }
 }
-#endif
 
 void RenderWidgetHostViewEfl::ImeCancelComposition() {
   if (im_context_)
index 4d3aa18e8da93f22da2a0c6e4de297fc21ac4ae8..d44a7c09d0924f381453b87b8ea2eefd986d973f 100644 (file)
@@ -94,7 +94,6 @@ class RenderWidgetHostViewEfl
   virtual void UpdateCursor(const WebCursor&) override;
   virtual void SetIsLoading(bool) override;
 
-  // [M40] TODO: Migrate this to proper method.
   void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params);
 
   virtual void TextInputTypeChanged(ui::TextInputType type,