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

Unified Diff: third_party/WebKit/Source/core/dom/IdleRequestOptions.idl

Issue 1367023002: Replace timeout argument with IdleRequestOptions in requestIdleCallback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rIC_histograms
Patch Set: Created 5 years, 3 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/dom/IdleRequestOptions.idl
diff --git a/third_party/WebKit/Source/modules/mediarecorder/BlobEventInit.idl b/third_party/WebKit/Source/core/dom/IdleRequestOptions.idl
similarity index 72%
copy from third_party/WebKit/Source/modules/mediarecorder/BlobEventInit.idl
copy to third_party/WebKit/Source/core/dom/IdleRequestOptions.idl
index 5ffbe064200acf38d4ef7234795b837dc9848273..cd89101f7613a897d019a4c4fb288ed9d9044299 100644
--- a/third_party/WebKit/Source/modules/mediarecorder/BlobEventInit.idl
+++ b/third_party/WebKit/Source/core/dom/IdleRequestOptions.idl
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-dictionary BlobEventInit : EventInit {
- Blob? blob = null;
+dictionary IdleRequestOptions {
+ unsigned long timeout = 0;
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698