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

Unified Diff: ui/views/widget/native_widget_delegate.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_aura.cc ('k') | ui/views/widget/native_widget_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_delegate.h
diff --git a/ui/views/widget/native_widget_delegate.h b/ui/views/widget/native_widget_delegate.h
index e23a8d5de220aa55b1a9022e9949ce4786c05226..a29b095281f67dc89f2f02f81215861e9d708f1a 100644
--- a/ui/views/widget/native_widget_delegate.h
+++ b/ui/views/widget/native_widget_delegate.h
@@ -106,7 +106,7 @@ class VIEWS_EXPORT NativeWidgetDelegate {
virtual int GetNonClientComponent(const gfx::Point& point) = 0;
// Mouse and key event handlers.
- virtual bool OnKeyEvent(const ui::KeyEvent& event) = 0;
+ virtual void OnKeyEvent(ui::KeyEvent* event) = 0;
virtual bool OnMouseEvent(const ui::MouseEvent& event) = 0;
virtual void OnMouseCaptureLost() = 0;
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/native_widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698