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

Unified Diff: Source/modules/performance/WorkerContextPerformance.idl

Issue 16434011: Support performance.now() in workers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 7 years, 6 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: Source/modules/performance/WorkerContextPerformance.idl
diff --git a/Source/modules/webmidi/MIDIInput.idl b/Source/modules/performance/WorkerContextPerformance.idl
similarity index 91%
copy from Source/modules/webmidi/MIDIInput.idl
copy to Source/modules/performance/WorkerContextPerformance.idl
index 8c0ae3cd90aad230083403867cef594a190a0674..79ef789102284c3f4d065179322cbe462cf650cc 100644
--- a/Source/modules/webmidi/MIDIInput.idl
+++ b/Source/modules/performance/WorkerContextPerformance.idl
@@ -29,9 +29,7 @@
*/
[
- NoInterfaceObject,
- ActiveDOMObject,
- EventTarget
-] interface MIDIInput : MIDIPort {
- attribute EventListener onmidimessage;
+ EnabledAtRuntime=HighResolutionTimeInWorkers
+] partial interface WorkerContext {
+ readonly attribute WorkerPerformance performance;
};

Powered by Google App Engine
This is Rietveld 408576698