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

Unified Diff: ash/wm/activation_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 | « ash/wm/activation_controller.h ('k') | ash/wm/event_rewriter_event_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/activation_controller.cc
diff --git a/ash/wm/activation_controller.cc b/ash/wm/activation_controller.cc
index 55440785982e9bf233c0a0afacc8b8b6b4754216..a17109ed57584852cff09bdd8bfca46add7584c8 100644
--- a/ash/wm/activation_controller.cc
+++ b/ash/wm/activation_controller.cc
@@ -272,8 +272,7 @@ void ActivationController::OnWindowFocused(aura::Window* gained_focus,
////////////////////////////////////////////////////////////////////////////////
// ActivationController, ui::EventHandler implementation:
-ui::EventResult ActivationController::OnKeyEvent(ui::KeyEvent* event) {
- return ui::ER_UNHANDLED;
+void ActivationController::OnKeyEvent(ui::KeyEvent* event) {
}
ui::EventResult ActivationController::OnMouseEvent(ui::MouseEvent* event) {
« no previous file with comments | « ash/wm/activation_controller.h ('k') | ash/wm/event_rewriter_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698