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

Unified Diff: ui/views/widget/desktop_aura/desktop_activation_client.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
Index: ui/views/widget/desktop_aura/desktop_activation_client.cc
diff --git a/ui/views/widget/desktop_aura/desktop_activation_client.cc b/ui/views/widget/desktop_aura/desktop_activation_client.cc
index 0581e1b9614f9cee85dbac35c5b1b6af01e55fb6..181f1dd35912b5a82ada9811401c2a41ab547cde 100644
--- a/ui/views/widget/desktop_aura/desktop_activation_client.cc
+++ b/ui/views/widget/desktop_aura/desktop_activation_client.cc
@@ -158,8 +158,7 @@ bool DesktopActivationClient::CanActivateWindow(aura::Window* window) const {
aura::client::GetActivationDelegate(window)->ShouldActivate());
}
-ui::EventResult DesktopActivationClient::OnKeyEvent(ui::KeyEvent* event) {
- return ui::ER_UNHANDLED;
+void DesktopActivationClient::OnKeyEvent(ui::KeyEvent* event) {
}
ui::EventResult DesktopActivationClient::OnMouseEvent(ui::MouseEvent* event) {
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_activation_client.h ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698