}
}
#if BUILDFLAG(IS_TIZEN_TV)
+ // Trigger auto show IME when webview focus in
+ if (IsHbbTV()) {
+ if (MainFrameImpl() && MainFrameImpl()->FrameWidgetImpl()) {
+ MainFrameImpl()
+ ->FrameWidgetImpl()
+ ->DidUpdateTextOfFocusedElementByNonUserInput();
+ }
+ }
+
if (element) {
// Accessibility needs to be informed that system focus has moved
// into the web area again, even if focus did not change within
}
#if BUILDFLAG(IS_TIZEN_TV)
+bool WebViewImpl::IsHitScrollbar() {
+ const LocalFrame* frame =
+ DynamicTo<LocalFrame>(page_->GetFocusController().FocusedOrMainFrame());
+ if (!frame)
+ return false;
+ return frame->GetEventHandler().PressedScrollbar();
+}
+
+bool WebViewImpl::IsMouseDownEventSwallowed() {
+ if (!MainFrameImpl() || !MainFrameImpl()->GetFrame())
+ return false;
+ return MainFrameImpl()
+ ->GetFrame()
+ ->GetEventHandler()
+ .MousePressEventSwallowed();
+}
+
void WebViewImpl::SetFloatVideoWindowState(bool enable) {
if (!GetPage())
return;