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

Unified Diff: ui/base/events/event_handler.h

Issue 11308322: events: Start changing EventHandler interface to not return a value. (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/base/events/event_handler.h
diff --git a/ui/base/events/event_handler.h b/ui/base/events/event_handler.h
index 5f0652140ce73968e536ded634ec1fe07db7b81f..405c65d3bc0fc9cad68e08a487bfd29e664a1e4f 100644
--- a/ui/base/events/event_handler.h
+++ b/ui/base/events/event_handler.h
@@ -32,7 +32,7 @@ class UI_EXPORT EventHandler {
// to one of the event-specific callbacks (OnKeyEvent, OnMouseEvent etc.). If
// this is overridden, then normally, the override should chain into the
// default implementation for un-handled events.
- virtual EventResult OnEvent(Event* event);
+ virtual void OnEvent(Event* event);
virtual EventResult OnKeyEvent(KeyEvent* event);

Powered by Google App Engine
This is Rietveld 408576698