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

Unified Diff: ui/views/corewm/focus_controller.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/corewm/focus_controller.h ('k') | ui/views/corewm/input_method_event_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/focus_controller.cc
diff --git a/ui/views/corewm/focus_controller.cc b/ui/views/corewm/focus_controller.cc
index 4f273afe3f800d52144feb295e5398ac30bb7b54..b5bbd90b588b498ff234f167bf09ed6da5f81444 100644
--- a/ui/views/corewm/focus_controller.cc
+++ b/ui/views/corewm/focus_controller.cc
@@ -149,8 +149,7 @@ void FocusController::OnWindowHiddenInRootWindow(
////////////////////////////////////////////////////////////////////////////////
// FocusController, ui::EventHandler implementation:
-ui::EventResult FocusController::OnKeyEvent(ui::KeyEvent* event) {
- return ui::ER_UNHANDLED;
+void FocusController::OnKeyEvent(ui::KeyEvent* event) {
}
ui::EventResult FocusController::OnMouseEvent(ui::MouseEvent* event) {
« no previous file with comments | « ui/views/corewm/focus_controller.h ('k') | ui/views/corewm/input_method_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698