Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(725)

Unified Diff: ui/views/mus/native_widget_mus.cc

Issue 1703683003: The key event should be stopped propagation when it's been processed as an accelerator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CQ green. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/desktop_native_widget_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/native_widget_mus.cc
diff --git a/ui/views/mus/native_widget_mus.cc b/ui/views/mus/native_widget_mus.cc
index 111a32ef8e9da4a71a54a6022b429d92cfb260b5..3905e17d0363669b7a741f1cb9a8d65f30aa4b9d 100644
--- a/ui/views/mus/native_widget_mus.cc
+++ b/ui/views/mus/native_widget_mus.cc
@@ -821,12 +821,6 @@ void NativeWidgetMus::OnKeyEvent(ui::KeyEvent* event) {
return;
native_widget_delegate_->OnKeyEvent(event);
- if (event->handled())
- return;
-
- if (GetWidget()->HasFocusManager() &&
- !GetWidget()->GetFocusManager()->OnKeyEvent(*event))
- event->SetHandled();
}
void NativeWidgetMus::OnMouseEvent(ui::MouseEvent* event) {
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/desktop_native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698