With SSS case, If ewk_view has focus before window visible, when the
window comes visible, ewk_view has unfocused due to splash screen
Evas_Object.
Even though web contens is visible after splash screen closed, it doesn't
get focus.
So this patch gives the focus explicitly again when splash screen is gone.
Change-Id: Ida8081ad5d25a00446840246ed9b33e5835ab095
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
#include <vconf.h>
#include "wrt/src/browser/tv/video_splash_screen.h"
+#include "wrt/src/browser/tv/wrt_native_window_tv.h"
#endif
namespace wrt {
evas_object_hide(image_);
evas_object_del(background_);
evas_object_del(image_);
+
+#if defined(OS_TIZEN_TV_PRODUCT)
+ auto native_window = WRTNativeWindowTV::GetMainNativeWindow();
+ if (native_window)
+ native_window->SetKeyEventChecker();
+#endif
}
std::pair<int, int> SplashScreen::GetDimensions(Evas_Object* window) {
void GetImeAndKeyPadConfig(bool& show_ime_panel,
bool& keypad_without_user_action);
void HalfWindowSupport(std::string position);
+ void SetKeyEventChecker();
void SetScreenResolution(unsigned int width, unsigned int height);
void SetUseFocus(bool use_focus);
void SetWindowAlpha(bool alpha);
void SetDisplayRotatorCallback();
void SetInvisibleDelivery();
void SetKeyboardFuncKey();
- void SetKeyEventChecker();
void SetProxyInfo();
void SetDiskCacheMode();
void SetResizableRectangle();