Changeset 108710 in webkit


Ignore:
Timestamp:
Feb 23, 2012 6:11:04 PM (12 years ago)
Author:
eric@webkit.org
Message:

Split out HTML constructors into new DOMWindowHTML suplemental idl
https://bugs.webkit.org/show_bug.cgi?id=79377

Reviewed by Adam Barth.

  • CMakeLists.txt:
  • DerivedSources.make:
  • DerivedSources.pri:
  • GNUmakefile.list.am:
  • WebCore.gypi:
  • WebCore.xcodeproj/project.pbxproj:
  • html/DOMWindowHTML.idl: Added.
  • page/DOMWindow.idl:
Location:
trunk/Source/WebCore
Files:
1 added
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/CMakeLists.txt

    r108709 r108710  
    217217    html/DOMTokenList.idl
    218218    html/DOMURL.idl
     219    html/DOMWindowHTML.idl
    219220    html/HTMLAllCollection.idl
    220221    html/HTMLAnchorElement.idl
  • trunk/Source/WebCore/ChangeLog

    r108709 r108710  
     12012-02-23  Eric Seidel  <eric@webkit.org>
     2
     3        Split out HTML constructors into new DOMWindowHTML suplemental idl
     4        https://bugs.webkit.org/show_bug.cgi?id=79377
     5
     6        Reviewed by Adam Barth.
     7
     8        * CMakeLists.txt:
     9        * DerivedSources.make:
     10        * DerivedSources.pri:
     11        * GNUmakefile.list.am:
     12        * WebCore.gypi:
     13        * WebCore.xcodeproj/project.pbxproj:
     14        * html/DOMWindowHTML.idl: Added.
     15        * page/DOMWindow.idl:
     16
    1172012-02-23  Eric Seidel  <eric@webkit.org>
    218
  • trunk/Source/WebCore/DerivedSources.make

    r108709 r108710  
    192192    $(WebCore)/html/DOMTokenList.idl \
    193193    $(WebCore)/html/DOMURL.idl \
     194    $(WebCore)/html/DOMWindowHTML.idl \
    194195    $(WebCore)/html/HTMLAllCollection.idl \
    195196    $(WebCore)/html/HTMLAnchorElement.idl \
  • trunk/Source/WebCore/DerivedSources.pri

    r108709 r108710  
    253253    $$PWD/html/DOMTokenList.idl \
    254254    $$PWD/html/DOMURL.idl \
     255    $$PWD/html/DOMWindowHTML.idl \
    255256    $$PWD/html/HTMLAllCollection.idl \
    256257    $$PWD/html/HTMLAudioElement.idl \
  • trunk/Source/WebCore/GNUmakefile.list.am

    r108709 r108710  
    758758        $(WebCore)/html/DOMTokenList.idl \
    759759        $(WebCore)/html/DOMURL.idl \
     760        $(WebCore)/html/DOMWindowHTML.idl \
    760761        $(WebCore)/html/HTMLAllCollection.idl \
    761762        $(WebCore)/html/HTMLAnchorElement.idl \
  • trunk/Source/WebCore/WebCore.gypi

    r108709 r108710  
    862862            'html/DOMTokenList.idl',
    863863            'html/DOMURL.idl',
     864            'html/DOMWindowHTML.idl',
    864865            'html/HTMLAllCollection.idl',
    865866            'html/HTMLAnchorElement.idl',
  • trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj

    r108709 r108710  
    1078410784                A89CCC500F44E98100B5DA10 /* ReplaceNodeWithSpanCommand.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ReplaceNodeWithSpanCommand.cpp; sourceTree = "<group>"; };
    1078510785                A89CCC510F44E98100B5DA10 /* ReplaceNodeWithSpanCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReplaceNodeWithSpanCommand.h; sourceTree = "<group>"; };
     10786                A8A5205D14F6BD3C00FBA19E /* DOMWindowHTML.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DOMWindowHTML.idl; sourceTree = "<group>"; };
    1078610787                A8BC04911214F69600B5F122 /* HTMLEntityTable.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLEntityTable.cpp; sourceTree = "<group>"; };
    1078710788                A8C2280D11D4A59700D5A7D3 /* DocumentParser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DocumentParser.cpp; sourceTree = "<group>"; };
     
    1387913880                        isa = PBXGroup;
    1388013881                        children = (
    13881                                 EB49DB8E14F46E8B002299D9 /* IDBTracing.h */,
    1388213882                                B5B5DC67119BB3D5002A8790 /* AbstractDatabase.cpp */,
    1388313883                                B5B5DC68119BB3D5002A8790 /* AbstractDatabase.h */,
     
    1395413954                                C585A6C011D4FB3D004C3E4B /* IDBRequest.h */,
    1395513955                                C585A6C111D4FB3D004C3E4B /* IDBRequest.idl */,
     13956                                EB49DB8E14F46E8B002299D9 /* IDBTracing.h */,
    1395613957                                B6566267120B115A006EA85C /* IDBTransaction.cpp */,
    1395713958                                B6566268120B115A006EA85C /* IDBTransaction.h */,
     
    1674516746                                2E37DFD812DBAFB800A6B233 /* DOMURL.h */,
    1674616747                                2E37DFD912DBAFB800A6B233 /* DOMURL.idl */,
     16748                                A8A5205D14F6BD3C00FBA19E /* DOMWindowHTML.idl */,
    1674716749                                F55B3D871251F12D003EF269 /* EmailInputType.cpp */,
    1674816750                                F55B3D881251F12D003EF269 /* EmailInputType.h */,
     
    2259022592                                C585A6F111D4FB3D004C3E4B /* IDBObjectStoreBackendInterface.h in Headers */,
    2259122593                                C585A6F411D4FB3D004C3E4B /* IDBRequest.h in Headers */,
     22594                                EB49DB8F14F46E8B002299D9 /* IDBTracing.h in Headers */,
    2259222595                                B656626B120B115A006EA85C /* IDBTransaction.h in Headers */,
    2259322596                                1A71D57C0F33819000F9CE4E /* IdentifierRep.h in Headers */,
     
    2434024343                                977E2E0F12F0FC9C00C13379 /* XSSAuditor.h in Headers */,
    2434124344                                FD537353137B651800008DCE /* ZeroPole.h in Headers */,
    24342                                 EB49DB8F14F46E8B002299D9 /* IDBTracing.h in Headers */,
    2434324345                        );
    2434424346                        runOnlyForDeploymentPostprocessing = 0;
  • trunk/Source/WebCore/page/DOMWindow.idl

    r108709 r108710  
    5959#endif
    6060        attribute [Replaceable, CustomGetter, V8CustomSetter] Event event;
    61 
    6261
    6362        DOMSelection getSelection();
     
    394393        attribute [Conditional=SHADOW_DOM, V8EnabledAtRuntime=shadowDOM] ShadowRootConstructor WebKitShadowRoot;
    395394
    396         attribute HTMLDocumentConstructor HTMLDocument;
    397395        attribute DOMWindowConstructor Window;
    398396
    399         attribute HTMLElementConstructor HTMLElement;
    400         attribute HTMLAnchorElementConstructor HTMLAnchorElement;
    401         attribute HTMLAppletElementConstructor HTMLAppletElement;
    402         attribute HTMLAreaElementConstructor HTMLAreaElement;
    403         attribute HTMLBRElementConstructor HTMLBRElement;
    404         attribute HTMLBaseElementConstructor HTMLBaseElement;
    405         attribute HTMLBaseFontElementConstructor HTMLBaseFontElement;
    406         attribute HTMLBodyElementConstructor HTMLBodyElement;
    407         attribute HTMLButtonElementConstructor HTMLButtonElement;
    408         attribute HTMLCanvasElementConstructor HTMLCanvasElement;
    409         attribute HTMLDListElementConstructor HTMLDListElement;
    410         attribute HTMLDirectoryElementConstructor HTMLDirectoryElement;
    411         attribute HTMLDivElementConstructor HTMLDivElement;
    412         attribute HTMLEmbedElementConstructor HTMLEmbedElement;
    413         attribute HTMLFieldSetElementConstructor HTMLFieldSetElement;
    414         attribute HTMLFontElementConstructor HTMLFontElement;
    415         attribute HTMLFormElementConstructor HTMLFormElement;
    416         attribute HTMLFrameElementConstructor HTMLFrameElement;
    417         attribute HTMLFrameSetElementConstructor HTMLFrameSetElement;
    418         attribute HTMLHRElementConstructor HTMLHRElement;
    419         attribute HTMLHeadElementConstructor HTMLHeadElement;
    420         attribute HTMLHeadingElementConstructor HTMLHeadingElement;
    421         attribute HTMLHtmlElementConstructor HTMLHtmlElement;
    422         attribute HTMLIFrameElementConstructor HTMLIFrameElement;
    423         attribute HTMLImageElementConstructor HTMLImageElement;
    424         attribute HTMLInputElementConstructor HTMLInputElement;
    425         attribute HTMLKeygenElementConstructor HTMLKeygenElement;
    426         attribute HTMLLIElementConstructor HTMLLIElement;
    427         attribute HTMLLabelElementConstructor HTMLLabelElement;
    428         attribute HTMLLegendElementConstructor HTMLLegendElement;
    429         attribute HTMLLinkElementConstructor HTMLLinkElement;
    430         attribute HTMLMapElementConstructor HTMLMapElement;
    431         attribute HTMLMarqueeElementConstructor HTMLMarqueeElement;
    432         attribute HTMLMenuElementConstructor HTMLMenuElement;
    433         attribute HTMLMetaElementConstructor HTMLMetaElement;
    434 #if defined(ENABLE_METER_TAG) && ENABLE_METER_TAG
    435         attribute HTMLMeterElementConstructor HTMLMeterElement;
    436 #endif
    437         attribute HTMLModElementConstructor HTMLModElement;
    438         attribute HTMLOListElementConstructor HTMLOListElement;
    439         attribute HTMLObjectElementConstructor HTMLObjectElement;
    440         attribute HTMLOptGroupElementConstructor HTMLOptGroupElement;
    441         attribute HTMLOptionElementConstructor HTMLOptionElement;
    442         attribute HTMLOutputElementConstructor HTMLOutputElement;
    443         attribute HTMLParagraphElementConstructor HTMLParagraphElement;
    444         attribute HTMLParamElementConstructor HTMLParamElement;
    445         attribute HTMLPreElementConstructor HTMLPreElement;
    446 #if defined(ENABLE_PROGRESS_TAG) && ENABLE_PROGRESS_TAG
    447         attribute HTMLProgressElementConstructor HTMLProgressElement;
    448 #endif
    449         attribute HTMLQuoteElementConstructor HTMLQuoteElement;
    450         attribute HTMLScriptElementConstructor HTMLScriptElement;
    451         attribute HTMLSelectElementConstructor HTMLSelectElement;
    452         attribute HTMLSpanElementConstructor HTMLSpanElement;
    453         attribute HTMLStyleElementConstructor HTMLStyleElement;
    454         attribute HTMLTableCaptionElementConstructor HTMLTableCaptionElement;
    455         attribute HTMLTableCellElementConstructor HTMLTableCellElement;
    456         attribute HTMLTableColElementConstructor HTMLTableColElement;
    457         attribute HTMLTableElementConstructor HTMLTableElement;
    458         attribute HTMLTableRowElementConstructor HTMLTableRowElement;
    459         attribute HTMLTableSectionElementConstructor HTMLTableSectionElement;
    460         attribute HTMLTextAreaElementConstructor HTMLTextAreaElement;
    461         attribute HTMLTitleElementConstructor HTMLTitleElement;
    462         attribute HTMLUListElementConstructor HTMLUListElement;
    463 
    464         attribute HTMLCollectionConstructor HTMLCollection;
    465         attribute HTMLAllCollectionConstructor HTMLAllCollection;
    466         attribute [Conditional=MICRODATA] HTMLPropertiesCollectionConstructor HTMLPropertiesCollection;
    467         attribute HTMLUnknownElementConstructor HTMLUnknownElement;
    468 
    469         attribute [JSCustomGetter, CustomConstructor] HTMLImageElementConstructorConstructor Image; // Usable with new operator
    470         attribute [JSCustomGetter] HTMLOptionElementConstructorConstructor Option; // Usable with new operator
    471 
     397        // FIXME: Should these Canvas constructors move to html/DOMWindowHTML with the rest of canvas?
    472398        attribute CanvasPatternConstructor CanvasPattern;
    473399        attribute CanvasGradientConstructor CanvasGradient;
    474400        attribute CanvasRenderingContext2DConstructor CanvasRenderingContext2D;
     401
    475402        attribute ImageDataConstructor ImageData;
    476403        attribute [Conditional=WEBGL] WebGLActiveInfoConstructor WebGLActiveInfo;
Note: See TracChangeset for help on using the changeset viewer.