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

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

Issue 2102133002: Add constructors for WebAudio nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/GainOptions.idl
diff --git a/components/arc/common/bitmap.mojom b/third_party/WebKit/Source/modules/webaudio/GainOptions.idl
similarity index 58%
copy from components/arc/common/bitmap.mojom
copy to third_party/WebKit/Source/modules/webaudio/GainOptions.idl
index 02d96647b6cf7833d42a0a8d7e84f92cfa1e9da4..047d6cd3b90ba3b42984c28128bd88bed65f6449 100644
--- a/components/arc/common/bitmap.mojom
+++ b/third_party/WebKit/Source/modules/webaudio/GainOptions.idl
@@ -2,10 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module arc.mojom;
-
-struct ArcBitmap {
- uint32 width;
- uint32 height;
- array<uint8> pixel_data; // Must be ARGB_8888
+// See https://webaudio.github.io/web-audio-api/#gainoptions
+dictionary GainOptions : AudioNodeOptions {
+ float gain;
};

Powered by Google App Engine
This is Rietveld 408576698