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

Unified Diff: ui/views/widget/root_view.h

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/widget/native_widget_win.cc ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/root_view.h
diff --git a/ui/views/widget/root_view.h b/ui/views/widget/root_view.h
index 1ee1b26099d4c042561d1ab1d5336a2043eb9ce6..e8be22752a453d5c10a6985f158d8b79b9e1f1b8 100644
--- a/ui/views/widget/root_view.h
+++ b/ui/views/widget/root_view.h
@@ -61,7 +61,7 @@ class VIEWS_EXPORT RootView : public View, public FocusTraversable {
// Process a key event. Send the event to the focused view and up the focus
// path, and finally to the default keyboard handler, until someone consumes
// it. Returns whether anyone consumed the event.
- ui::EventResult DispatchKeyEvent(const ui::KeyEvent& event);
+ void DispatchKeyEvent(ui::KeyEvent* event);
void DispatchScrollEvent(ui::ScrollEvent* event);
void DispatchTouchEvent(ui::TouchEvent* event);
virtual void DispatchGestureEvent(ui::GestureEvent* event);
« no previous file with comments | « ui/views/widget/native_widget_win.cc ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698