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

Unified Diff: ui/events/gestures/motion_event_aura.h

Issue 458363002: Remove old Aura Gesture Detection Pipeline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address sadrul's comment, and rebase. Created 6 years, 4 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 | « ui/events/gestures/gestures.dot ('k') | ui/events/gestures/motion_event_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gestures/motion_event_aura.h
diff --git a/ui/events/gestures/motion_event_aura.h b/ui/events/gestures/motion_event_aura.h
index 04d60e251af7ba39d55ea5104088b2a1df215657..4ac3a4c2f6d254aab5a1730924364c0c73c17538 100644
--- a/ui/events/gestures/motion_event_aura.h
+++ b/ui/events/gestures/motion_event_aura.h
@@ -5,15 +5,13 @@
#ifndef UI_EVENTS_GESTURE_DETECTION_UI_MOTION_EVENT_H_
#define UI_EVENTS_GESTURE_DETECTION_UI_MOTION_EVENT_H_
-#include "ui/events/gesture_detection/motion_event.h"
-
#include <map>
#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "ui/events/event.h"
#include "ui/events/events_export.h"
-#include "ui/events/gestures/gesture_sequence.h"
+#include "ui/events/gesture_detection/motion_event.h"
namespace ui {
@@ -71,7 +69,7 @@ class EVENTS_EXPORT MotionEventAura : public MotionEvent {
const base::TimeTicks& last_touch_time,
Action cached_action,
int cached_action_index,
- const PointData (&active_touches)[GestureSequence::kMaxGesturePoints]);
+ const PointData (&active_touches)[10/*TODO*/]);
static PointData GetPointDataFromTouchEvent(const TouchEvent& touch);
void AddTouch(const TouchEvent& touch);
@@ -87,8 +85,7 @@ class EVENTS_EXPORT MotionEventAura : public MotionEvent {
int cached_action_index_;
// We want constant time indexing by pointer_index, and fast indexing by id.
- // TODO(tdresser): figure out which constant to use here.
- PointData active_touches_[GestureSequence::kMaxGesturePoints];
+ PointData active_touches_[10/*TODO*/];
DISALLOW_COPY_AND_ASSIGN(MotionEventAura);
};
« no previous file with comments | « ui/events/gestures/gestures.dot ('k') | ui/events/gestures/motion_event_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698