Commit 852fdb1d authored by haraken@chromium.org's avatar haraken@chromium.org

Rename [JSGenerateToJS] to [JSGenerateToJSObject]

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

Reviewed by Adam Barth.

This patch renames [JSGenerateToJS] to [JSGenerateToJSObject],
for naming consistency with [CustomToJSObject], [JSCustomToJSObject] and [V8CustomToJSObject].

No tests. No change in behavior.

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader):
(GenerateImplementation):
* dom/WebKitNamedFlow.idl:
* fileapi/DirectoryEntry.idl:
* fileapi/DirectoryEntrySync.idl:
* fileapi/File.idl:
* fileapi/FileEntry.idl:
* fileapi/FileEntrySync.idl:
* html/DOMFormData.idl:
* html/DOMSettableTokenList.idl:
* html/DOMURL.idl:
* html/MediaController.idl:
* mediastream/LocalMediaStream.idl:
* webaudio/AudioBufferCallback.idl:
* webaudio/AudioBufferSourceNode.idl:
* webaudio/AudioDestinationNode.idl:
* webaudio/AudioGain.idl:
* webaudio/AudioGainNode.idl:
* webaudio/AudioPannerNode.idl:
* webaudio/AudioProcessingEvent.idl:
* webaudio/BiquadFilterNode.idl:
* webaudio/ConvolverNode.idl:
* webaudio/DelayNode.idl:
* webaudio/DynamicsCompressorNode.idl:
* webaudio/HighPass2FilterNode.idl:
* webaudio/JavaScriptAudioNode.idl:
* webaudio/LowPass2FilterNode.idl:
* webaudio/MediaElementAudioSourceNode.idl:
* webaudio/OfflineAudioCompletionEvent.idl:
* webaudio/RealtimeAnalyserNode.idl:
* webaudio/WaveShaperNode.idl:
* workers/SharedWorker.idl:
* workers/Worker.idl:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent b043fce6
2012-02-14 Kentaro Hara <haraken@chromium.org>
Rename [JSGenerateToJS] to [JSGenerateToJSObject]
https://bugs.webkit.org/show_bug.cgi?id=78490
Reviewed by Adam Barth.
This patch renames [JSGenerateToJS] to [JSGenerateToJSObject],
for naming consistency with [CustomToJSObject], [JSCustomToJSObject] and [V8CustomToJSObject].
No tests. No change in behavior.
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader):
(GenerateImplementation):
* dom/WebKitNamedFlow.idl:
* fileapi/DirectoryEntry.idl:
* fileapi/DirectoryEntrySync.idl:
* fileapi/File.idl:
* fileapi/FileEntry.idl:
* fileapi/FileEntrySync.idl:
* html/DOMFormData.idl:
* html/DOMSettableTokenList.idl:
* html/DOMURL.idl:
* html/MediaController.idl:
* mediastream/LocalMediaStream.idl:
* webaudio/AudioBufferCallback.idl:
* webaudio/AudioBufferSourceNode.idl:
* webaudio/AudioDestinationNode.idl:
* webaudio/AudioGain.idl:
* webaudio/AudioGainNode.idl:
* webaudio/AudioPannerNode.idl:
* webaudio/AudioProcessingEvent.idl:
* webaudio/BiquadFilterNode.idl:
* webaudio/ConvolverNode.idl:
* webaudio/DelayNode.idl:
* webaudio/DynamicsCompressorNode.idl:
* webaudio/HighPass2FilterNode.idl:
* webaudio/JavaScriptAudioNode.idl:
* webaudio/LowPass2FilterNode.idl:
* webaudio/MediaElementAudioSourceNode.idl:
* webaudio/OfflineAudioCompletionEvent.idl:
* webaudio/RealtimeAnalyserNode.idl:
* webaudio/WaveShaperNode.idl:
* workers/SharedWorker.idl:
* workers/Worker.idl:
2012-02-14 Kenichi Ishibashi <bashi@chromium.org>
[WebSocket] Add deflater/inflater classes
......@@ -1003,7 +1003,7 @@ sub GenerateHeader
push(@headerContent, "\n");
}
if (!$hasParent || $dataNode->extendedAttributes->{"JSGenerateToJS"} || ($dataNode->extendedAttributes->{"CustomToJSObject"} || $dataNode->extendedAttributes->{"JSCustomToJSObject"})) {
if (!$hasParent || $dataNode->extendedAttributes->{"JSGenerateToJSObject"} || ($dataNode->extendedAttributes->{"CustomToJSObject"} || $dataNode->extendedAttributes->{"JSCustomToJSObject"})) {
push(@headerContent, "JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, $implType*);\n");
}
if (!$hasParent || $dataNode->extendedAttributes->{"JSGenerateToNativeObject"}) {
......@@ -2310,7 +2310,7 @@ sub GenerateImplementation
push(@implContent, "}\n\n");
}
if ((!$hasParent or $dataNode->extendedAttributes->{"JSGenerateToJS"}) and !($dataNode->extendedAttributes->{"CustomToJSObject"} or $dataNode->extendedAttributes->{"JSCustomToJSObject"})) {
if ((!$hasParent or $dataNode->extendedAttributes->{"JSGenerateToJSObject"}) and !($dataNode->extendedAttributes->{"CustomToJSObject"} or $dataNode->extendedAttributes->{"JSCustomToJSObject"})) {
push(@implContent, "JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, $implType* impl)\n");
push(@implContent, "{\n");
if ($svgPropertyType) {
......
......@@ -29,7 +29,7 @@
module core {
interface [
JSGenerateToJS
JSGenerateToJSObject
] WebKitNamedFlow {
};
}
......@@ -32,7 +32,7 @@ module storage {
interface [
Conditional=FILE_SYSTEM,
JSGenerateToNativeObject,
JSGenerateToJS,
JSGenerateToJSObject,
JSNoStaticTables
] DirectoryEntry : Entry {
DirectoryReader createReader();
......
......@@ -32,7 +32,7 @@ module storage {
interface [
Conditional=FILE_SYSTEM,
JSGenerateToNativeObject,
JSGenerateToJS,
JSGenerateToJSObject,
JSNoStaticTables
] DirectoryEntrySync : EntrySync {
DirectoryReaderSync createReader() raises (FileException);
......
......@@ -27,7 +27,7 @@ module html {
interface [
JSGenerateToNativeObject,
JSGenerateToJS,
JSGenerateToJSObject,
JSNoStaticTables
] File : Blob {
readonly attribute DOMString name;
......
......@@ -32,7 +32,7 @@ module storage {
interface [
Conditional=FILE_SYSTEM,
JSGenerateToNativeObject,
JSGenerateToJS,
JSGenerateToJSObject,
JSNoStaticTables
] FileEntry : Entry {
void createWriter(in [Callback] FileWriterCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback);
......
......@@ -32,7 +32,7 @@ module storage {
interface [
Conditional=FILE_SYSTEM,
JSGenerateToNativeObject,
JSGenerateToJS,
JSGenerateToJSObject,
JSNoStaticTables
] FileEntrySync : EntrySync {
File file() raises (FileException);
......
......@@ -33,7 +33,7 @@ module html {
interface [
CustomConstructor,
JSGenerateToNativeObject,
JSGenerateToJS
JSGenerateToJSObject
] DOMFormData {
// void append(DOMString name, DOMString value);
// void append(DOMString name, Blob value, optional DOMString filename);
......
......@@ -26,7 +26,7 @@ module core {
interface [
IndexedGetter,
JSGenerateToJS
JSGenerateToJSObject
] DOMSettableTokenList : DOMTokenList {
attribute DOMString value;
};
......
......@@ -29,7 +29,7 @@ module html {
Conditional=BLOB,
Constructor,
JSGenerateToNativeObject,
JSGenerateToJS,
JSGenerateToJSObject,
JSNoStaticTables
] DOMURL {
#if defined(ENABLE_MEDIA_STREAM) && ENABLE_MEDIA_STREAM
......
......@@ -28,7 +28,7 @@ module html {
Conditional=VIDEO,
Constructor,
CallWith=ScriptExecutionContext,
JSGenerateToJS,
JSGenerateToJSObject,
EventTarget
] MediaController {
readonly attribute TimeRanges buffered;
......
......@@ -28,7 +28,7 @@ module core {
Conditional=MEDIA_STREAM,
JSGenerateToNativeObject,
EventTarget,
JSGenerateToJS
JSGenerateToJSObject
] LocalMediaStream : MediaStream {
void stop();
};
......
......@@ -25,7 +25,7 @@
module audio {
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS,
JSGenerateToJSObject,
Callback
] AudioBufferCallback {
boolean handleEvent(in AudioBuffer audioBuffer);
......
......@@ -26,7 +26,7 @@ module audio {
// A cached (non-streamed), memory-resident audio source
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS
JSGenerateToJSObject
] AudioBufferSourceNode : AudioSourceNode {
attribute [CustomSetter] AudioBuffer buffer
setter raises (DOMException);
......
......@@ -25,7 +25,7 @@
module audio {
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS
JSGenerateToJSObject
] AudioDestinationNode : AudioNode {
readonly attribute long numberOfChannels;
};
......
......@@ -29,7 +29,7 @@
module audio {
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS
JSGenerateToJSObject
] AudioGain : AudioParam {
};
}
......@@ -25,7 +25,7 @@
module audio {
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS
JSGenerateToJSObject
] AudioGainNode : AudioNode {
// FIXME: eventually it will be interesting to remove the readonly restriction, but need to properly deal with thread safety here.
readonly attribute AudioGain gain;
......
......@@ -25,7 +25,7 @@
module audio {
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS
JSGenerateToJSObject
] AudioPannerNode : AudioNode {
// Panning model
const unsigned short EQUALPOWER = 0;
......
......@@ -25,7 +25,7 @@
module audio {
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS
JSGenerateToJSObject
] AudioProcessingEvent : Event {
readonly attribute AudioBuffer inputBuffer;
readonly attribute AudioBuffer outputBuffer;
......
......@@ -25,7 +25,7 @@
module audio {
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS
JSGenerateToJSObject
] BiquadFilterNode : AudioNode {
// Filter type.
const unsigned short LOWPASS = 0;
......
......@@ -26,7 +26,7 @@ module audio {
// A linear convolution effect
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS
JSGenerateToJSObject
] ConvolverNode : AudioNode {
attribute [JSCustomSetter] AudioBuffer buffer;
attribute boolean normalize;
......
......@@ -25,7 +25,7 @@
module audio {
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS
JSGenerateToJSObject
] DelayNode : AudioNode {
readonly attribute AudioParam delayTime;
};
......
......@@ -25,7 +25,7 @@
module audio {
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS
JSGenerateToJSObject
] DynamicsCompressorNode : AudioNode {
};
}
......@@ -27,7 +27,7 @@ module audio {
// FIXME: design BiquadNode and use instead of this
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS
JSGenerateToJSObject
] HighPass2FilterNode : AudioNode {
readonly attribute AudioParam cutoff;
readonly attribute AudioParam resonance;
......
......@@ -26,7 +26,7 @@ module audio {
// For real-time audio stream synthesis/processing in JavaScript
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS,
JSGenerateToJSObject,
JSCustomMarkFunction,
#if defined(V8_BINDING) && V8_BINDING
EventTarget
......
......@@ -27,7 +27,7 @@ module audio {
// FIXME: design BiquadNode and use instead of this
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS
JSGenerateToJSObject
] LowPass2FilterNode : AudioNode {
readonly attribute AudioParam cutoff;
readonly attribute AudioParam resonance;
......
......@@ -25,7 +25,7 @@
module audio {
interface [
Conditional=WEB_AUDIO&VIDEO,
JSGenerateToJS
JSGenerateToJSObject
] MediaElementAudioSourceNode : AudioSourceNode {
readonly attribute HTMLMediaElement mediaElement;
};
......
......@@ -25,7 +25,7 @@
module audio {
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS
JSGenerateToJSObject
] OfflineAudioCompletionEvent : Event {
readonly attribute AudioBuffer renderedBuffer;
};
......
......@@ -25,7 +25,7 @@
module audio {
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS
JSGenerateToJSObject
] RealtimeAnalyserNode : AudioNode {
attribute unsigned long fftSize;
readonly attribute unsigned long frequencyBinCount;
......
......@@ -25,7 +25,7 @@
module audio {
interface [
Conditional=WEB_AUDIO,
JSGenerateToJS
JSGenerateToJSObject
] WaveShaperNode : AudioNode {
attribute [JSCustomSetter] Float32Array curve;
};
......
......@@ -41,7 +41,7 @@ module threads {
ConstructorRaisesException,
JSCustomMarkFunction,
JSGenerateToNativeObject,
JSGenerateToJS
JSGenerateToJSObject
] SharedWorker : AbstractWorker {
readonly attribute MessagePort port;
};
......
......@@ -36,7 +36,7 @@ module threads {
CallWith=ScriptExecutionContext,
ConstructorRaisesException,
JSGenerateToNativeObject,
JSGenerateToJS
JSGenerateToJSObject
] Worker : AbstractWorker {
attribute EventListener onmessage;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment