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

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

Issue 1820403002: Implement Automations for PannerNode and AutioListener (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update test because CL for min/maxValue AudioParam landed Created 4 years, 7 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/PannerNode.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/PannerNode.idl b/third_party/WebKit/Source/modules/webaudio/PannerNode.idl
index 8bb30e96e135771ac3db572be36bbcf08683c079..a3ddf5ca6b2ec75034af9cc7a784a057c6f113e8 100644
--- a/third_party/WebKit/Source/modules/webaudio/PannerNode.idl
+++ b/third_party/WebKit/Source/modules/webaudio/PannerNode.idl
@@ -40,10 +40,19 @@ enum DistanceModelType {
attribute PanningModelType panningModel;
// Uses a 3D cartesian coordinate system
- void setPosition(float x, float y, float z);
- void setOrientation(float x, float y, float z);
+ [MeasureAs=PannerNodeSetPosition] void setPosition(float x, float y, float z);
+ [MeasureAs=PannerNodeSetOrientation] void setOrientation(float x, float y, float z);
[DeprecateAs=PannerNodeSetVelocity] void setVelocity(float x, float y, float z);
+ // Uses a 3D cartesian coordinate system
+ readonly attribute AudioParam positionX;
+ readonly attribute AudioParam positionY;
+ readonly attribute AudioParam positionZ;
+
+ readonly attribute AudioParam orientationX;
+ readonly attribute AudioParam orientationY;
+ readonly attribute AudioParam orientationZ;
+
// Distance model
attribute DistanceModelType distanceModel;
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/PannerNode.cpp ('k') | third_party/WebKit/Source/platform/audio/EqualPowerPanner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698