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

Unified Diff: ui/base/event.cc

Issue 10824247: Remove GestureEvent interface, and rename GestureEventImpl to GestureEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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/base/event.h ('k') | ui/base/gestures/gesture_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/event.cc
diff --git a/ui/base/event.cc b/ui/base/event.cc
index 8a57e70ae7cf41d017b53816ee62914e0003803d..28392362d63e79307e926c40bc142aa5f3a147d0 100644
--- a/ui/base/event.cc
+++ b/ui/base/event.cc
@@ -373,23 +373,23 @@ ScrollEvent::ScrollEvent(const base::NativeEvent& native_event)
}
}
-GestureEventImpl::GestureEventImpl(EventType type,
- int x,
- int y,
- int flags,
- base::Time time_stamp,
- const GestureEventDetails& details,
- unsigned int touch_ids_bitfield)
+GestureEvent::GestureEvent(EventType type,
+ int x,
+ int y,
+ int flags,
+ base::Time time_stamp,
+ const GestureEventDetails& details,
+ unsigned int touch_ids_bitfield)
: LocatedEvent(type, gfx::Point(x, y), gfx::Point(x, y), flags),
details_(details),
touch_ids_bitfield_(touch_ids_bitfield) {
set_time_stamp(base::TimeDelta::FromSeconds(time_stamp.ToDoubleT()));
}
-GestureEventImpl::~GestureEventImpl() {
+GestureEvent::~GestureEvent() {
}
-int GestureEventImpl::GetLowestTouchId() const {
+int GestureEvent::GetLowestTouchId() const {
if (touch_ids_bitfield_ == 0)
return -1;
int i = -1;
« no previous file with comments | « ui/base/event.h ('k') | ui/base/gestures/gesture_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698