[CherryPick] Remove AudioGain.idl from compilation.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Mar 2013 18:08:05 +0000 (18:08 +0000)
committerGerrit Code Review <gerrit2@kim11>
Tue, 2 Apr 2013 08:23:55 +0000 (17:23 +0900)
commit7da38562e0eeb5f5d72d2d37d4f25743c040b7a2
treeb67e9d031d292035f390204d0e13d1b0cba44f0c
parent61fdf4350963f4e6f9c91919ae122d491556f313
[CherryPick] Remove AudioGain.idl from compilation.

[Title] [CherryPick] Remove AudioGain.idl from compilation.
[Issues] WEB-2908
[Problem] WebAudio performance optimization patch
[Solution] Cherry picked.
[Cherry-Picker] Praveen R Jadhav <praveen.j@samsung.com>

https://bugs.webkit.org/show_bug.cgi?id=112650

Patch by Praveen R Jadhav <praveen.j@samsung.com> on 2013-03-21
Reviewed by Chris Rogers.

Source/WebCore:

Spec: https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNode
      https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBufferSourceNode

AudioParam serves the same purpose as AudioGain. Infact, AudioGain inherits
AudioParam class and doesn't have its own member functions/parameters. Also,
AudioGain is not part of WebAudio W3C specifications.

Test: webaudio/gain-basic.html

* CMakeLists.txt:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.list.am:
* Modules/webaudio/AudioBufferSourceNode.cpp:
(WebCore::AudioBufferSourceNode::AudioBufferSourceNode):
* Modules/webaudio/AudioBufferSourceNode.h:
(AudioBufferSourceNode):
(WebCore::AudioBufferSourceNode::gain):
* Modules/webaudio/AudioBufferSourceNode.idl:
* Modules/webaudio/AudioGain.h: Removed.
* Modules/webaudio/AudioGain.idl: Removed.
* Modules/webaudio/GainNode.cpp:
(WebCore::GainNode::GainNode):
* Modules/webaudio/GainNode.h:
(WebCore):
(WebCore::GainNode::create):
(GainNode):
(WebCore::GainNode::gain):
* Modules/webaudio/GainNode.idl:
* Modules/webaudio/PannerNode.cpp:
(WebCore::PannerNode::PannerNode):
* Modules/webaudio/PannerNode.h:
(WebCore::PannerNode::distanceGain):
(WebCore::PannerNode::coneGain):
* Target.pri:
* WebCore.gypi:
* WebCore.xcodeproj/project.pbxproj:

LayoutTests:

Test to verify GainNode attributes.

* webaudio/gain-basic-expected.txt: Added.
* webaudio/gain-basic.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146486 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Conflicts:

LayoutTests/ChangeLog
Source/WebCore/ChangeLog
Source/WebCore/Modules/webaudio/AudioBufferSourceNode.h
Source/WebCore/Modules/webaudio/AudioBufferSourceNode.idl
Source/WebCore/Modules/webaudio/AudioGain.idl
Source/WebCore/Modules/webaudio/GainNode.idl
Source/WebCore/Modules/webaudio/PannerNode.cpp
Source/WebCore/WebCore.xcodeproj/project.pbxproj

Change-Id: I9136b633149d866b61f213e0d734e3df3cbc0187
19 files changed:
LayoutTests/webaudio/gain-basic-expected.txt [new file with mode: 0644]
LayoutTests/webaudio/gain-basic.html [new file with mode: 0644]
Source/WebCore/CMakeLists.txt
Source/WebCore/DerivedSources.make
Source/WebCore/DerivedSources.pri
Source/WebCore/GNUmakefile.list.am
Source/WebCore/Modules/webaudio/AudioBufferSourceNode.cpp
Source/WebCore/Modules/webaudio/AudioBufferSourceNode.h
Source/WebCore/Modules/webaudio/AudioBufferSourceNode.idl
Source/WebCore/Modules/webaudio/AudioGain.h [deleted file]
Source/WebCore/Modules/webaudio/AudioGain.idl [deleted file]
Source/WebCore/Modules/webaudio/GainNode.cpp
Source/WebCore/Modules/webaudio/GainNode.h
Source/WebCore/Modules/webaudio/GainNode.idl
Source/WebCore/Modules/webaudio/PannerNode.cpp
Source/WebCore/Modules/webaudio/PannerNode.h
Source/WebCore/Target.pri
Source/WebCore/WebCore.gypi
Source/WebCore/WebCore.xcodeproj/project.pbxproj