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

Unified Diff: third_party/WebKit/Source/modules/webaudio/DelayOptions.idl

Issue 2102133002: Add constructors for WebAudio nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and prefix use counter names with WebAudio Created 4 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/modules/webaudio/DelayOptions.idl
diff --git a/ash/public/interfaces/ash_window_type.mojom b/third_party/WebKit/Source/modules/webaudio/DelayOptions.idl
similarity index 50%
copy from ash/public/interfaces/ash_window_type.mojom
copy to third_party/WebKit/Source/modules/webaudio/DelayOptions.idl
index 61f2c4d6435fb90668777035bb9cdeeb3fa4c3b7..bd17286a43082ebf83c9fcc3b1a241ccb69d2615 100644
--- a/ash/public/interfaces/ash_window_type.mojom
+++ b/third_party/WebKit/Source/modules/webaudio/DelayOptions.idl
@@ -2,12 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module ash.mojom;
-
-enum AshWindowType {
- SHELF = 0,
- STATUS_AREA,
- COUNT
-};
-
-const string kAshWindowType_Property = "ash:window-type";
+// See https://webaudio.github.io/web-audio-api/#delayoptions
+dictionary DelayOptions : AudioNodeOptions {
+ double maxDelayTime = 1;
+ double delayTime;
+};

Powered by Google App Engine
This is Rietveld 408576698