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

Side by Side Diff: Source/modules/webaudio/PannerNode.idl

Issue 963983003: Remove [TypeChecking=Unrestricted] use in Source/modules/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 18 matching lines...) Expand all
29 29
30 enum DistanceModelType { 30 enum DistanceModelType {
31 "linear", 31 "linear",
32 "inverse", 32 "inverse",
33 "exponential" 33 "exponential"
34 }; 34 };
35 35
36 [ 36 [
37 NoInterfaceObject, 37 NoInterfaceObject,
38 Conditional=WEB_AUDIO, 38 Conditional=WEB_AUDIO,
39 TypeChecking=Unrestricted,
40 ] interface PannerNode : AudioNode { 39 ] interface PannerNode : AudioNode {
41 // Default model for stereo is equalpower. 40 // Default model for stereo is equalpower.
42 attribute PanningModelType panningModel; 41 attribute PanningModelType panningModel;
43 42
44 // Uses a 3D cartesian coordinate system 43 // Uses a 3D cartesian coordinate system
45 void setPosition(float x, float y, float z); 44 void setPosition(float x, float y, float z);
46 void setOrientation(float x, float y, float z); 45 void setOrientation(float x, float y, float z);
47 void setVelocity(float x, float y, float z); 46 void setVelocity(float x, float y, float z);
48 47
49 // Distance model 48 // Distance model
50 attribute DistanceModelType distanceModel; 49 attribute DistanceModelType distanceModel;
51 50
52 attribute double refDistance; 51 attribute double refDistance;
53 attribute double maxDistance; 52 attribute double maxDistance;
54 attribute double rolloffFactor; 53 attribute double rolloffFactor;
55 54
56 // Directional sound cone 55 // Directional sound cone
57 attribute double coneInnerAngle; 56 attribute double coneInnerAngle;
58 attribute double coneOuterAngle; 57 attribute double coneOuterAngle;
59 attribute double coneOuterGain; 58 attribute double coneOuterGain;
60 }; 59 };
OLDNEW
« no previous file with comments | « Source/modules/webaudio/OscillatorNode.idl ('k') | Source/modules/webmidi/MIDIMessageEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698