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

Side by Side Diff: ui/events/gestures/test/eager_gesture_recognition_test_base.h

Issue 101933004: Eager Gesture Recognizer (WIP) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Starting work on Android. Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_EVENTS_EAGER_GESTURE_RECOGNIZER_TEST_BASE_H_
6 #define UI_EVENTS_EAGER_GESTURE_RECOGNIZER_TEST_BASE_H_
7
8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "ui/events/event.h"
10 #include "ui/events/gestures/gesture_event_queue.h"
11
12 namespace ui {
13 namespace test {
14
15 class EagerGestureRecognitionTestBase : public testing::Test {
16 public:
17 EagerGestureRecognitionTestBase();
18 virtual ~EagerGestureRecognitionTestBase();
19
20 protected:
21 const TouchEvent Press(int id);
22 const TouchEvent Move(int id);
23 const TouchEvent Release(int id);
24 GestureEvent* Gesture(ui::EventType eventType);
25
26 private:
27 int simulated_now_;
28 DISALLOW_COPY_AND_ASSIGN(EagerGestureRecognitionTestBase);
29 };
30
31 } // namespace test
32 } // namespace ui
33
34 #endif // UI_EVENTS_EAGER_GESTURE_RECOGNIZER_TEST_BASE_H_
OLDNEW
« no previous file with comments | « ui/events/gestures/gesture_types.h ('k') | ui/events/gestures/test/eager_gesture_recognition_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698