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

Unified Diff: views/event.cc

Issue 6267002: Implement double/triple click functionality in views textfield. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: 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
« no previous file with comments | « views/event.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/event.cc
diff --git a/views/event.cc b/views/event.cc
index 7584a4d0236d1de8cb6c99b1acde2ef75c772561..cead01129f3f176b4099d725c597cff2052cde2a 100644
--- a/views/event.cc
+++ b/views/event.cc
@@ -10,11 +10,7 @@ namespace views {
Event::Event(EventType type, int flags)
: type_(type),
-#if defined(OS_WIN)
- time_stamp_(GetTickCount()),
-#else
- time_stamp_(0),
-#endif
+ time_stamp_(base::Time::NowFromSystemTime()),
flags_(flags) {
}
« no previous file with comments | « views/event.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698