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

Unified Diff: ui/views/widget/desktop_aura/desktop_activation_client.cc

Issue 11592011: events: Update mouse-event handlers to not return EventResult. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 181f1dd35912b5a82ada9811401c2a41ab547cde..14bf80e6e128cab8ded9c753c6de558805c52159 100644
--- a/ui/views/widget/desktop_aura/desktop_activation_client.cc
+++ b/ui/views/widget/desktop_aura/desktop_activation_client.cc
@@ -161,10 +161,9 @@ bool DesktopActivationClient::CanActivateWindow(aura::Window* window) const {
void DesktopActivationClient::OnKeyEvent(ui::KeyEvent* event) {
}
-ui::EventResult DesktopActivationClient::OnMouseEvent(ui::MouseEvent* event) {
+void DesktopActivationClient::OnMouseEvent(ui::MouseEvent* event) {
if (event->type() == ui::ET_MOUSE_PRESSED)
FocusWindowWithEvent(event);
- return ui::ER_UNHANDLED;
}
void DesktopActivationClient::OnScrollEvent(ui::ScrollEvent* 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