// Picker has been shown on top of webview and the page content gets
// partially overlapped. Decrease viewport while showing picker.
AdjustViewPortHeightToPopupMenu(true /* is_popup_menu_visible */);
+#if BUILDFLAG(IS_TIZEN_TV)
+ SmartCallback<EWebViewCallbacks::PopupMenuShow>().call();
+#endif
} else {
select_picker_->UpdatePickerData(selectedIndex, std::move(items), multiple);
}
return;
AdjustViewPortHeightToPopupMenu(false /* is_popup_menu_visible */);
+#if BUILDFLAG(IS_TIZEN_TV)
+ SmartCallback<EWebViewCallbacks::PopupMenuHide>().call();
+#endif
select_picker_.reset();
}
PlaybackFinish,
PlaybackStop,
UserMediaState,
+ PopupMenuShow,
+ PopupMenuHide,
#endif
OverscrolledLeft,
OverscrolledRight,
"notification,playback,finish",
void*);
DECLARE_EWK_VIEW_CALLBACK(UserMediaState, "usermedia,state", void*);
+DECLARE_EWK_VIEW_CALLBACK(PopupMenuShow, "popup,menu,show", void);
+DECLARE_EWK_VIEW_CALLBACK(PopupMenuHide, "popup,menu,hide", void);
#endif
DECLARE_EWK_VIEW_CALLBACK(OverscrolledLeft, "overscrolled,left", void);
DECLARE_EWK_VIEW_CALLBACK(OverscrolledRight, "overscrolled,right", void);