diff --git a/packages/webview_flutter/tizen/src/ewk_internal_api_binding.cc b/packages/webview_flutter/tizen/src/ewk_internal_api_binding.cc index 01be2c187..9f7aff9d0 100644 --- a/packages/webview_flutter/tizen/src/ewk_internal_api_binding.cc +++ b/packages/webview_flutter/tizen/src/ewk_internal_api_binding.cc @@ -35,6 +35,8 @@ bool EwkInternalApiBinding::Initialize() { dlsym(handle_, "ewk_view_ime_window_set")); view.KeyEventsEnabledSet = reinterpret_cast( dlsym(handle_, "ewk_view_key_events_enabled_set")); + view.SupportVideoHoleSet = reinterpret_cast( + dlsym(handle_, "ewk_view_set_support_video_hole")); // ewk_main main.SetArguments = reinterpret_cast( @@ -57,7 +59,7 @@ bool EwkInternalApiBinding::Initialize() { return view.SetBackgroundColor && view.FeedTouchEvent && view.SendKeyEvent && view.OffscreenRenderingEnabledSet && view.ImeWindowSet && - view.KeyEventsEnabledSet && main.SetArguments && + view.KeyEventsEnabledSet && view.SupportVideoHoleSet && main.SetArguments && settings.ImePanelEnabledSet && console_message.LevelGet && console_message.TextGet && console_message.LineGet && console_message.SourceGet; diff --git a/packages/webview_flutter/tizen/src/ewk_internal_api_binding.h b/packages/webview_flutter/tizen/src/ewk_internal_api_binding.h index 499560fb7..c259a9a0a 100644 --- a/packages/webview_flutter/tizen/src/ewk_internal_api_binding.h +++ b/packages/webview_flutter/tizen/src/ewk_internal_api_binding.h @@ -36,6 +36,10 @@ typedef void (*EwkViewOffscreenRenderingEnabledSetFnPtr)(Evas_Object* obj, typedef void (*EwkViewImeWindowSetFnPtr)(Evas_Object* obj, void* window); typedef Eina_Bool (*EwkViewKeyEventsEnabledSetFnPtr)(Evas_Object* obj, Eina_Bool enabled); +typedef Eina_Bool (*EwkViewSupportVideoHoleSetFnPtr)(Evas_Object* obj, + void* window, + Eina_Bool enabled, + Eina_Bool boo); typedef struct { EwkViewBgColorSetFnPtr SetBackgroundColor = nullptr; @@ -45,6 +49,7 @@ typedef struct { nullptr; EwkViewImeWindowSetFnPtr ImeWindowSet = nullptr; EwkViewKeyEventsEnabledSetFnPtr KeyEventsEnabledSet = nullptr; + EwkViewSupportVideoHoleSetFnPtr SupportVideoHoleSet = nullptr; } EwkViewProcTable; typedef void (*EwkSetArgumentsFnPtr)(int argc, char** argv);