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

Unified Diff: views/event.h

Issue 6267002: Implement double/triple click functionality in views textfield. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: minor refactoring Created 9 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 side-by-side diff with in-line comments
Download patch
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_;
};

Powered by Google App Engine
This is Rietveld 408576698