[Problem]: JavaScript window.onfocus does not work.
[Solution]: Added call WasShown on focus in and
Blur on focus out.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12713
Reviewed by: Hyunhak Kim, Piotr Tworek
Change-Id: I18b2d2387c4bea525c770e7fc484b7bda877ce6c
Signed-off-by: Karol Furmaniak <k.furmaniak@samsung.com>
thiz->host_->SetActive(true);
thiz->host_->GotFocus();
+ thiz->host_->WasShown(ui::LatencyInfo());
Eina_Bool r = EINA_TRUE;
r &= evas_object_key_grab(thiz->content_image_, "Left", 0, 0, EINA_TRUE);
thiz->host_->SetActive(false);
thiz->host_->LostCapture();
+ thiz->host_->Blur();
evas_object_key_ungrab(thiz->content_image_, "Left", 0, 0);
evas_object_key_ungrab(thiz->content_image_, "Right", 0, 0);