Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/testing/Internals.h

Issue 1352523002: Use high precision timestamp for Event.timestamp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/testing/Internals.h
diff --git a/third_party/WebKit/Source/core/testing/Internals.h b/third_party/WebKit/Source/core/testing/Internals.h
index 003af4bc457f581e5c1c4095b5ffc4082083ecde..83e7114d654dd1341f68b8b38306e8dc2f4ba1a1 100644
--- a/third_party/WebKit/Source/core/testing/Internals.h
+++ b/third_party/WebKit/Source/core/testing/Internals.h
@@ -387,6 +387,10 @@ public:
bool setScrollbarVisibilityInScrollableArea(Node*, bool visible);
void forceRestrictIFramePermissions();
+
+ // Translate given platform monotonic time in seconds to high resolution
+ // document time in seconds
+ double monotonicTimeToZeroBasedDocumentTime(double, ExceptionState&);
private:
explicit Internals(ScriptState*);
Document* contextDocument() const;

Powered by Google App Engine