From: ws29.jung Date: Thu, 5 Jan 2017 04:22:04 +0000 (+0900) Subject: Fix Hardware Key action when popup is on X-Git-Tag: submit/tizen_3.0/20170105.044811~1^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F45%2F108545%2F2;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Fix Hardware Key action when popup is on This patch fix hardware key handling when popup is shown. Before this patch, hardware key handled in wrt before popup action is done when key is repidly tabbed. Now when popup is on, wrt will not trigger event. Bug: http://suprem.sec.samsung.net/jira/browse/TSAM-12331 Change-Id: I7b620e4f4349e8c54849ee9d24a66c0ccbe062f7 Signed-off-by: ws29.jung --- diff --git a/runtime/browser/web_view_impl.cc b/runtime/browser/web_view_impl.cc index ca2a92cfb..cc5227543 100644 --- a/runtime/browser/web_view_impl.cc +++ b/runtime/browser/web_view_impl.cc @@ -993,7 +993,7 @@ void WebViewImpl::OnKeyEvent(Eext_Callback_Type key_type) { return; } - if (listener_) { + if (listener_ && !internal_popup_opened_) { listener_->OnHardwareKey(view_, keyname); } }