Index: views/event.h |
diff --git a/views/event.h b/views/event.h |
index 4dd1ed15127880409cfef14b56ddd762c6ac900d..99e3b941dcd6b419cd5b13074c632c56dfa30b11 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. |
+ base::Time GetTimeStamp() const { |
oshima
2011/01/18 19:52:54
const base::Time&
varunjain
2011/01/25 04:06:40
Done.
|
return time_stamp_; |
} |
@@ -157,7 +158,7 @@ class Event { |
void operator=(const Event&); |
EventType type_; |
- int time_stamp_; |
+ base::Time time_stamp_; |
int flags_; |
}; |