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

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

Issue 2102133002: Add constructors for WebAudio nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update files to the right GN files. 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/AudioBufferSourceOptions.idl
diff --git a/ash/public/interfaces/ash_window_type.mojom b/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceOptions.idl
similarity index 50%
copy from ash/public/interfaces/ash_window_type.mojom
copy to third_party/WebKit/Source/modules/webaudio/AudioBufferSourceOptions.idl
index 61f2c4d6435fb90668777035bb9cdeeb3fa4c3b7..179f9ecef9d88c3634530a0ef599cd532e5ab232 100644
--- a/ash/public/interfaces/ash_window_type.mojom
+++ b/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceOptions.idl
@@ -2,12 +2,11 @@
// 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";
+dictionary AudioBufferSourceOptions {
+ AudioBuffer buffer;
+ float detune;
+ boolean loop;
+ double loopEnd;
+ double loopStart;
+ float playbackRate;
+};

Powered by Google App Engine
This is Rietveld 408576698