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

Unified Diff: third_party/WebKit/Source/core/html/forms/TypeAhead.h

Issue 1352523002: Use high precision timestamp for Event.timestamp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 2 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: third_party/WebKit/Source/core/html/forms/TypeAhead.h
diff --git a/third_party/WebKit/Source/core/html/forms/TypeAhead.h b/third_party/WebKit/Source/core/html/forms/TypeAhead.h
index fd71c960b0120ea6c6f4f98ff92827da0dea6659..67cebdc9142158ec32b8476c1ea57b2b791a01f8 100644
--- a/third_party/WebKit/Source/core/html/forms/TypeAhead.h
+++ b/third_party/WebKit/Source/core/html/forms/TypeAhead.h
@@ -27,7 +27,6 @@
#define TypeAhead_h
#include "core/CoreExport.h"
-#include "core/dom/DOMTimeStamp.h"
#include "wtf/Allocator.h"
#include "wtf/text/StringBuilder.h"
#include "wtf/text/WTFString.h"
@@ -64,7 +63,8 @@ public:
private:
TypeAheadDataSource* m_dataSource;
- DOMTimeStamp m_lastTypeTime;
+ // platform timestamp of last keyboard event in seconds
+ double m_lastTypeTime;
UChar m_repeatingChar;
StringBuilder m_buffer;
};
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp ('k') | third_party/WebKit/Source/core/html/forms/TypeAhead.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698