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:
parent
de41be81b8
commit
a135b46e2c
|
@ -563,10 +563,6 @@ void CefRenderWidgetHostViewOSR::set_parent_host_view(
|
||||||
|
|
||||||
void CefRenderWidgetHostViewOSR::SendKeyEvent(
|
void CefRenderWidgetHostViewOSR::SendKeyEvent(
|
||||||
const content::NativeWebKeyboardEvent& event) {
|
const content::NativeWebKeyboardEvent& event) {
|
||||||
if (!IsPopupWidget() && popup_host_view_) {
|
|
||||||
popup_host_view_->SendKeyEvent(event);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!render_widget_host_)
|
if (!render_widget_host_)
|
||||||
return;
|
return;
|
||||||
render_widget_host_->ForwardKeyboardEvent(event);
|
render_widget_host_->ForwardKeyboardEvent(event);
|
||||||
|
|
Loading…
Reference in New Issue