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

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

Issue 11188012: gesture recognizer: Remove the touch-event queue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 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 | « ui/aura/root_window.cc ('k') | ui/base/events/event.cc » ('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 3293586622443999ee9b29da348a012c64f46fa0..b88c8d9909ecc2df970bc047607a05fdc9e17a4c 100644
--- a/ui/base/events/event.h
+++ b/ui/base/events/event.h
@@ -410,6 +410,16 @@ class UI_EXPORT TouchEvent : public LocatedEvent {
int touch_id,
base::TimeDelta time_stamp);
+ TouchEvent(EventType type,
+ const gfx::Point& location,
+ int flags,
+ int touch_id,
+ base::TimeDelta timestamp,
+ float radius_x,
+ float radius_y,
+ float angle,
+ float force);
+
virtual ~TouchEvent();
int touch_id() const { return touch_id_; }
@@ -464,22 +474,6 @@ class UI_EXPORT TouchEvent : public LocatedEvent {
DISALLOW_COPY_AND_ASSIGN(TouchEvent);
};
-class UI_EXPORT TestTouchEvent : public TouchEvent {
- public:
- // Create a new touch event.
- TestTouchEvent(EventType type,
- int x,
- int y,
- int flags,
- int touch_id,
- float radius_x,
- float radius_y,
- float angle,
- float force);
- private:
- DISALLOW_COPY_AND_ASSIGN(TestTouchEvent);
-};
-
class UI_EXPORT KeyEvent : public Event {
public:
KeyEvent(const base::NativeEvent& native_event, bool is_char);
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/base/events/event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698