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

Unified Diff: components/exo/pointer.h

Issue 2458853002: exo: Replace fling cancel with generic zero distance scroll
Patch Set: Created 4 years, 2 months 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 | components/exo/pointer.cc » ('j') | components/exo/pointer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/pointer.h
diff --git a/components/exo/pointer.h b/components/exo/pointer.h
index 8cfdbab86362c4f218a007b544b7e30dc5ce651b..3d6bd71f8a29efabe9cba20e21eea6893a0b695b 100644
--- a/components/exo/pointer.h
+++ b/components/exo/pointer.h
@@ -11,6 +11,7 @@
#include "components/exo/surface_delegate.h"
#include "components/exo/surface_observer.h"
#include "components/exo/wm_helper.h"
+#include "ui/events/event_constants.h"
#include "ui/events/event_handler.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/point_f.h"
@@ -110,6 +111,9 @@ class Pointer : public ui::EventHandler,
// True if the pointer is controlled via direct input.
bool is_direct_input_ = false;
+ // Last received event type
reveman 2016/10/31 02:25:13 nit: s/type/type./
denniskempin 2016/10/31 17:33:49 Done.
+ ui::EventType last_event_type_ = ui::ET_UNKNOWN;
+
DISALLOW_COPY_AND_ASSIGN(Pointer);
};
« no previous file with comments | « no previous file | components/exo/pointer.cc » ('j') | components/exo/pointer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698