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

Unified Diff: ui/views/view.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
« no previous file with comments | « ui/views/view.h ('k') | ui/views/widget/desktop_aura/desktop_activation_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.cc
diff --git a/ui/views/view.cc b/ui/views/view.cc
index b40faee9fcfab114d9467c0a152e4375895cb2ce..a38ccb71afdc69bb0bbad15d554cf04de2d8b947 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -870,8 +870,7 @@ bool View::OnMouseWheel(const ui::MouseWheelEvent& event) {
void View::OnKeyEvent(ui::KeyEvent* event) {
}
-ui::EventResult View::OnMouseEvent(ui::MouseEvent* event) {
- return ui::ER_UNHANDLED;
+void View::OnMouseEvent(ui::MouseEvent* event) {
}
void View::OnScrollEvent(ui::ScrollEvent* event) {
« no previous file with comments | « ui/views/view.h ('k') | ui/views/widget/desktop_aura/desktop_activation_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698