Separate showing IME logic and setting properties
Separate the former one from |IMContextEfl::UpdateInputMthodState|
to the new function ShowIMEIfNeeded, and move the existing function
to use upstream functions and reduce the dependency of helpers.
The function had been called from |RenderWidgetHostViewAura
::TextInputStateChanged|, and this function would eventually call
|EflInputMethodContext::UpdateFocus|, where I move it to. It
would be always called before |ShowIMEIfNeeded| so the functionality
wouldn't be changed.
To make this, add the parameters of it in |LinuxInputMethodContext::
TextInputClientAttributes|, make the function counterparts of them in
|RenderWidgetHostViewAura| and |TextInputClient|. Three of the paramters
which are in |TextInputState| are returned like other ones in the class,
and |use_floating_ui| is returned by separated funtion in the helper.
Change-Id: I2c73c9e29ff773a22ad63250b3b440eef92683ad
Signed-off-by: hyoputer <hyoputer.kim@samsung.com>