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

Unified Diff: ui/views/view.cc

Issue 11570012: events: Update key-event handlers to not return EventResult. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-for-landing Created 8 years 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 | « ui/views/view.h ('k') | ui/views/widget/desktop_aura/desktop_activation_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.cc
diff --git a/ui/views/view.cc b/ui/views/view.cc
index 2fb4fdff9750be17cc633b3f53323d374e9f4d18..b40faee9fcfab114d9467c0a152e4375895cb2ce 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -867,8 +867,7 @@ bool View::OnMouseWheel(const ui::MouseWheelEvent& event) {
return false;
}
-ui::EventResult View::OnKeyEvent(ui::KeyEvent* event) {
- return ui::ER_UNHANDLED;
+void View::OnKeyEvent(ui::KeyEvent* event) {
}
ui::EventResult View::OnMouseEvent(ui::MouseEvent* event) {
« no previous file with comments | « ui/views/view.h ('k') | ui/views/widget/desktop_aura/desktop_activation_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698