Changeset 109630 in webkit


Ignore:
Timestamp:
Mar 2, 2012 4:15:51 PM (12 years ago)
Author:
haraken@chromium.org
Message:

Revert HTML-related APIs from DOMWindowHTML.idl back to DOMWindow.idl
https://bugs.webkit.org/show_bug.cgi?id=80140

Reviewed by Adam Barth.

Based on the discussion on webkit-dev@
(http://markmail.org/message/kagvswmah67zmrry#query:+page:1+mid:h34vzbiu5suub3ld+state:results),
we should revert HTML-related APIs from DOMWindowHTML.idl back to DOMWindow.idl.

No tests. No change in behavior.

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

Legend:

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

    r109628 r109630  
    224224    html/DOMTokenList.idl
    225225    html/DOMURL.idl
    226     html/DOMWindowHTML.idl
    227226    html/HTMLAllCollection.idl
    228227    html/HTMLAnchorElement.idl
  • trunk/Source/WebCore/ChangeLog

    r109628 r109630  
     12012-03-02  Kentaro Hara  <haraken@chromium.org>
     2
     3        Revert HTML-related APIs from DOMWindowHTML.idl back to DOMWindow.idl
     4        https://bugs.webkit.org/show_bug.cgi?id=80140
     5
     6        Reviewed by Adam Barth.
     7
     8        Based on the discussion on webkit-dev@
     9        (http://markmail.org/message/kagvswmah67zmrry#query:+page:1+mid:h34vzbiu5suub3ld+state:results),
     10        we should revert HTML-related APIs from DOMWindowHTML.idl back to DOMWindow.idl.
     11
     12        No tests. No change in behavior.
     13
     14        * CMakeLists.txt:
     15        * DerivedSources.make:
     16        * DerivedSources.pri:
     17        * GNUmakefile.list.am:
     18        * WebCore.gypi:
     19        * WebCore.xcodeproj/project.pbxproj:
     20        * html/DOMWindowHTML.idl: Removed.
     21        * page/DOMWindow.idl:
     22
    1232012-03-02  Kentaro Hara  <haraken@chromium.org>
    224
  • trunk/Source/WebCore/DerivedSources.make

    r109628 r109630  
    212212    $(WebCore)/html/DOMTokenList.idl \
    213213    $(WebCore)/html/DOMURL.idl \
    214     $(WebCore)/html/DOMWindowHTML.idl \
    215214    $(WebCore)/html/HTMLAllCollection.idl \
    216215    $(WebCore)/html/HTMLAnchorElement.idl \
  • trunk/Source/WebCore/DerivedSources.pri

    r109628 r109630  
    272272    $$PWD/html/DOMTokenList.idl \
    273273    $$PWD/html/DOMURL.idl \
    274     $$PWD/html/DOMWindowHTML.idl \
    275274    $$PWD/html/HTMLAllCollection.idl \
    276275    $$PWD/html/HTMLAudioElement.idl \
  • trunk/Source/WebCore/GNUmakefile.list.am

    r109628 r109630  
    771771        $(WebCore)/html/DOMTokenList.idl \
    772772        $(WebCore)/html/DOMURL.idl \
    773         $(WebCore)/html/DOMWindowHTML.idl \
    774773        $(WebCore)/html/HTMLAllCollection.idl \
    775774        $(WebCore)/html/HTMLAnchorElement.idl \
  • trunk/Source/WebCore/WebCore.gypi

    r109628 r109630  
    898898            'html/DOMTokenList.idl',
    899899            'html/DOMURL.idl',
    900             'html/DOMWindowHTML.idl',
    901900            'html/HTMLAllCollection.idl',
    902901            'html/HTMLAnchorElement.idl',
  • trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj

    r109628 r109630  
    1092110921                A89CCC500F44E98100B5DA10 /* ReplaceNodeWithSpanCommand.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ReplaceNodeWithSpanCommand.cpp; sourceTree = "<group>"; };
    1092210922                A89CCC510F44E98100B5DA10 /* ReplaceNodeWithSpanCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReplaceNodeWithSpanCommand.h; sourceTree = "<group>"; };
    10923                 A8A5205D14F6BD3C00FBA19E /* DOMWindowHTML.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DOMWindowHTML.idl; sourceTree = "<group>"; };
    1092410923                A8BC04911214F69600B5F122 /* HTMLEntityTable.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLEntityTable.cpp; sourceTree = "<group>"; };
    1092510924                A8C2280D11D4A59700D5A7D3 /* DocumentParser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DocumentParser.cpp; sourceTree = "<group>"; };
     
    1674216741                                2E37DFD812DBAFB800A6B233 /* DOMURL.h */,
    1674316742                                2E37DFD912DBAFB800A6B233 /* DOMURL.idl */,
    16744                                 A8A5205D14F6BD3C00FBA19E /* DOMWindowHTML.idl */,
    1674516743                                F55B3D871251F12D003EF269 /* EmailInputType.cpp */,
    1674616744                                F55B3D881251F12D003EF269 /* EmailInputType.h */,
  • trunk/Source/WebCore/page/DOMWindow.idl

    r109628 r109630  
    397397        attribute DOMWindowConstructor Window;
    398398
    399         // FIXME: Should these Canvas constructors move to html/DOMWindowHTML with the rest of canvas?
     399        attribute HTMLDocumentConstructor HTMLDocument;
     400        attribute HTMLElementConstructor HTMLElement;
     401        attribute HTMLAnchorElementConstructor HTMLAnchorElement;
     402        attribute HTMLAppletElementConstructor HTMLAppletElement;
     403        attribute HTMLAreaElementConstructor HTMLAreaElement;
     404        attribute HTMLBRElementConstructor HTMLBRElement;
     405        attribute HTMLBaseElementConstructor HTMLBaseElement;
     406        attribute HTMLBaseFontElementConstructor HTMLBaseFontElement;
     407        attribute HTMLBodyElementConstructor HTMLBodyElement;
     408        attribute HTMLButtonElementConstructor HTMLButtonElement;
     409        attribute HTMLCanvasElementConstructor HTMLCanvasElement;
     410        attribute HTMLDListElementConstructor HTMLDListElement;
     411        attribute HTMLDirectoryElementConstructor HTMLDirectoryElement;
     412        attribute HTMLDivElementConstructor HTMLDivElement;
     413        attribute HTMLEmbedElementConstructor HTMLEmbedElement;
     414        attribute HTMLFieldSetElementConstructor HTMLFieldSetElement;
     415        attribute HTMLFontElementConstructor HTMLFontElement;
     416        attribute HTMLFormElementConstructor HTMLFormElement;
     417        attribute HTMLFrameElementConstructor HTMLFrameElement;
     418        attribute HTMLFrameSetElementConstructor HTMLFrameSetElement;
     419        attribute HTMLHRElementConstructor HTMLHRElement;
     420        attribute HTMLHeadElementConstructor HTMLHeadElement;
     421        attribute HTMLHeadingElementConstructor HTMLHeadingElement;
     422        attribute HTMLHtmlElementConstructor HTMLHtmlElement;
     423        attribute HTMLIFrameElementConstructor HTMLIFrameElement;
     424        attribute HTMLImageElementConstructor HTMLImageElement;
     425        attribute HTMLInputElementConstructor HTMLInputElement;
     426        attribute HTMLKeygenElementConstructor HTMLKeygenElement;
     427        attribute HTMLLIElementConstructor HTMLLIElement;
     428        attribute HTMLLabelElementConstructor HTMLLabelElement;
     429        attribute HTMLLegendElementConstructor HTMLLegendElement;
     430        attribute HTMLLinkElementConstructor HTMLLinkElement;
     431        attribute HTMLMapElementConstructor HTMLMapElement;
     432        attribute HTMLMarqueeElementConstructor HTMLMarqueeElement;
     433        attribute HTMLMenuElementConstructor HTMLMenuElement;
     434        attribute HTMLMetaElementConstructor HTMLMetaElement;
     435#if defined(ENABLE_METER_TAG) && ENABLE_METER_TAG
     436        attribute HTMLMeterElementConstructor HTMLMeterElement;
     437#endif
     438        attribute HTMLModElementConstructor HTMLModElement;
     439        attribute HTMLOListElementConstructor HTMLOListElement;
     440        attribute HTMLObjectElementConstructor HTMLObjectElement;
     441        attribute HTMLOptGroupElementConstructor HTMLOptGroupElement;
     442        attribute HTMLOptionElementConstructor HTMLOptionElement;
     443        attribute HTMLOutputElementConstructor HTMLOutputElement;
     444        attribute HTMLParagraphElementConstructor HTMLParagraphElement;
     445        attribute HTMLParamElementConstructor HTMLParamElement;
     446        attribute HTMLPreElementConstructor HTMLPreElement;
     447#if defined(ENABLE_PROGRESS_TAG) && ENABLE_PROGRESS_TAG
     448        attribute HTMLProgressElementConstructor HTMLProgressElement;
     449#endif
     450        attribute HTMLQuoteElementConstructor HTMLQuoteElement;
     451        attribute HTMLScriptElementConstructor HTMLScriptElement;
     452        attribute HTMLSelectElementConstructor HTMLSelectElement;
     453        attribute HTMLSpanElementConstructor HTMLSpanElement;
     454        attribute HTMLStyleElementConstructor HTMLStyleElement;
     455        attribute HTMLTableCaptionElementConstructor HTMLTableCaptionElement;
     456        attribute HTMLTableCellElementConstructor HTMLTableCellElement;
     457        attribute HTMLTableColElementConstructor HTMLTableColElement;
     458        attribute HTMLTableElementConstructor HTMLTableElement;
     459        attribute HTMLTableRowElementConstructor HTMLTableRowElement;
     460        attribute HTMLTableSectionElementConstructor HTMLTableSectionElement;
     461        attribute HTMLTextAreaElementConstructor HTMLTextAreaElement;
     462        attribute HTMLTitleElementConstructor HTMLTitleElement;
     463        attribute HTMLUListElementConstructor HTMLUListElement;
     464
     465        attribute HTMLCollectionConstructor HTMLCollection;
     466        attribute HTMLAllCollectionConstructor HTMLAllCollection;
     467        attribute [Conditional=MICRODATA] HTMLPropertiesCollectionConstructor HTMLPropertiesCollection;
     468        attribute HTMLUnknownElementConstructor HTMLUnknownElement;
     469
     470        attribute [JSCustomGetter, CustomConstructor] HTMLImageElementConstructorConstructor Image; // Usable with new operator
     471        attribute [JSCustomGetter] HTMLOptionElementConstructorConstructor Option; // Usable with new operator
     472
     473        attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] HTMLTrackElementConstructor HTMLTrackElement;
     474        attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackConstructor TextTrack;
     475        attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackCueConstructor TextTrackCue; // Usable with the new operator
     476        attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackCueListConstructor TextTrackCueList;
     477        attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackListConstructor TextTrackList;
     478        attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TrackEventConstructor TrackEvent;
     479
     480        attribute [JSCustomGetter, Conditional=VIDEO, V8EnabledAtRuntime] HTMLAudioElementConstructorConstructor Audio; // Usable with the new operator
     481        attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLAudioElementConstructor HTMLAudioElement;
     482        attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLMediaElementConstructor HTMLMediaElement;
     483        attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLVideoElementConstructor HTMLVideoElement;
     484        attribute [Conditional=VIDEO, V8EnabledAtRuntime] MediaErrorConstructor MediaError;
     485        attribute [Conditional=VIDEO, V8EnabledAtRuntime] TimeRangesConstructor TimeRanges;
     486        attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLSourceElementConstructor HTMLSourceElement;
     487        attribute [Conditional=VIDEO, V8EnabledAtRuntime] MediaControllerConstructor MediaController;
     488
    400489        attribute CanvasPatternConstructor CanvasPattern;
    401490        attribute CanvasGradientConstructor CanvasGradient;
Note: See TracChangeset for help on using the changeset viewer.