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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioNodeOptions.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/AudioNodeOptions.idl
diff --git a/ash/public/interfaces/ash_window_type.mojom b/third_party/WebKit/Source/modules/webaudio/AudioNodeOptions.idl
similarity index 52%
copy from ash/public/interfaces/ash_window_type.mojom
copy to third_party/WebKit/Source/modules/webaudio/AudioNodeOptions.idl
index 61f2c4d6435fb90668777035bb9cdeeb3fa4c3b7..a601ea100040a419751aaf99f5fbac3e835c95c7 100644
--- a/ash/public/interfaces/ash_window_type.mojom
+++ b/third_party/WebKit/Source/modules/webaudio/AudioNodeOptions.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
+dictionary AudioNodeOptions {
+ unsigned long channelCount;
+ ChannelCountMode channelCountMode;
+ ChannelInterpretation channelInterpretation;
};
-
-const string kAshWindowType_Property = "ash:window-type";

Powered by Google App Engine
This is Rietveld 408576698