mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix keyboard handling for popups when window rendering is disabled (issue #962).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1276 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -563,10 +563,6 @@ void CefRenderWidgetHostViewOSR::set_parent_host_view(
|
||||
|
||||
void CefRenderWidgetHostViewOSR::SendKeyEvent(
|
||||
const content::NativeWebKeyboardEvent& event) {
|
||||
if (!IsPopupWidget() && popup_host_view_) {
|
||||
popup_host_view_->SendKeyEvent(event);
|
||||
return;
|
||||
}
|
||||
if (!render_widget_host_)
|
||||
return;
|
||||
render_widget_host_->ForwardKeyboardEvent(event);
|
||||
|
Reference in New Issue
Block a user