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

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

Issue 11299285: events: Dispatch all events through EventHandler::OnEvent from the dispatcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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 | « no previous file | ui/base/events/event_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/events/event.h
diff --git a/ui/base/events/event.h b/ui/base/events/event.h
index 77edf2b938fe8159a8053a289aeedcd2839de159..06687beb2cf7dfa4e7fc452e80f78fb33cf763ae 100644
--- a/ui/base/events/event.h
+++ b/ui/base/events/event.h
@@ -97,7 +97,8 @@ class UI_EXPORT Event {
type_ == ET_MOUSE_MOVED ||
type_ == ET_MOUSE_ENTERED ||
type_ == ET_MOUSE_EXITED ||
- type_ == ET_MOUSEWHEEL;
+ type_ == ET_MOUSEWHEEL ||
+ type_ == ET_MOUSE_CAPTURE_CHANGED;
}
bool IsTouchEvent() const {
@@ -114,6 +115,7 @@ class UI_EXPORT Event {
case ET_GESTURE_SCROLL_END:
case ET_GESTURE_SCROLL_UPDATE:
case ET_GESTURE_TAP:
+ case ET_GESTURE_TAP_CANCEL:
case ET_GESTURE_TAP_DOWN:
case ET_GESTURE_BEGIN:
case ET_GESTURE_END:
« no previous file with comments | « no previous file | ui/base/events/event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698