Index: views/event.h |
diff --git a/views/event.h b/views/event.h |
index 381588640f5ea38ae03619db179879f8b62919bd..c893eeafa79de26667dd00f898d675c5b33ce58a 100644 |
--- a/views/event.h |
+++ b/views/event.h |
@@ -7,6 +7,7 @@ |
#pragma once |
#include "base/basictypes.h" |
+#include "base/time.h" |
#include "gfx/point.h" |
#include "ui/base/keycodes/keyboard_codes.h" |
@@ -80,8 +81,8 @@ class Event { |
return type_; |
} |
- // Return the event time stamp in ticks |
- int GetTimeStamp() const { |
+ // Return the event time stamp. |
+ const base::Time& GetTimeStamp() const { |
return time_stamp_; |
} |
@@ -157,7 +158,7 @@ class Event { |
void operator=(const Event&); |
EventType type_; |
- int time_stamp_; |
+ base::Time time_stamp_; |
int flags_; |
}; |