Changeset 108781 in webkit


Ignore:
Timestamp:
Feb 24, 2012 5:50:47 AM (12 years ago)
Author:
haraken@chromium.org
Message:

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

Reviewed by Adam Barth.

For WebKit modularization, this patch moves HTML-related APIs
from DOMWindow.idl to DOMWindowHTML.idl.

No tests. No change in behavior.

  • html/DOMWindowHTML.idl:
  • page/DOMWindow.idl:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r108780 r108781  
     12012-02-24  Kentaro Hara  <haraken@chromium.org>
     2
     3        Move HTML-related APIs from DOMWindow.idl to DOMWindowHTML.idl
     4        https://bugs.webkit.org/show_bug.cgi?id=79436
     5
     6        Reviewed by Adam Barth.
     7
     8        For WebKit modularization, this patch moves HTML-related APIs
     9        from DOMWindow.idl to DOMWindowHTML.idl.
     10
     11        No tests. No change in behavior.
     12
     13        * html/DOMWindowHTML.idl:
     14        * page/DOMWindow.idl:
     15
    1162012-02-24  Jochen Eisinger  <jochen@chromium.org>
    217
  • trunk/Source/WebCore/html/DOMWindowHTML.idl

    r108710 r108781  
    2727
    2828        attribute HTMLDocumentConstructor HTMLDocument;
    29 
    3029        attribute HTMLElementConstructor HTMLElement;
    3130        attribute HTMLAnchorElementConstructor HTMLAnchorElement;
     
    101100        attribute [JSCustomGetter] HTMLOptionElementConstructorConstructor Option; // Usable with new operator
    102101
     102        attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] HTMLTrackElementConstructor HTMLTrackElement;
     103        attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackConstructor TextTrack;
     104        attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackCueConstructor TextTrackCue; // Usable with the new operator
     105        attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackCueListConstructor TextTrackCueList;
     106        attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackListConstructor TextTrackList;
     107        attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TrackEventConstructor TrackEvent;
     108
     109        attribute [JSCustomGetter, Conditional=VIDEO, V8EnabledAtRuntime] HTMLAudioElementConstructorConstructor Audio; // Usable with the new operator
     110        attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLAudioElementConstructor HTMLAudioElement;
     111        attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLMediaElementConstructor HTMLMediaElement;
     112        attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLVideoElementConstructor HTMLVideoElement;
     113        attribute [Conditional=VIDEO, V8EnabledAtRuntime] MediaErrorConstructor MediaError;
     114        attribute [Conditional=VIDEO, V8EnabledAtRuntime] TimeRangesConstructor TimeRanges;
     115        attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLSourceElementConstructor HTMLSourceElement;
     116        attribute [Conditional=VIDEO, V8EnabledAtRuntime] MediaControllerConstructor MediaController;
    103117    };
    104118
  • trunk/Source/WebCore/page/DOMWindow.idl

    r108778 r108781  
    486486#endif
    487487
    488 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK
    489         attribute [V8EnabledAtRuntime=webkitVideoTrack] HTMLTrackElementConstructor HTMLTrackElement;
    490         attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackConstructor TextTrack;
    491         attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackCueConstructor TextTrackCue; // Usable with the new operator
    492         attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackCueListConstructor TextTrackCueList;
    493         attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackListConstructor TextTrackList;
    494         attribute [V8EnabledAtRuntime=webkitVideoTrack] TrackEventConstructor TrackEvent;
    495 #endif
    496 
    497488        attribute DOMPluginConstructor Plugin;
    498489        attribute DOMPluginArrayConstructor PluginArray;
     
    505496
    506497        attribute StorageConstructor Storage;
    507 
    508         attribute [JSCustomGetter, Conditional=VIDEO, V8EnabledAtRuntime] HTMLAudioElementConstructorConstructor Audio; // Usable with the new operator
    509         attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLAudioElementConstructor HTMLAudioElement;
    510         attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLMediaElementConstructor HTMLMediaElement;
    511         attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLVideoElementConstructor HTMLVideoElement;
    512         attribute [Conditional=VIDEO, V8EnabledAtRuntime] MediaErrorConstructor MediaError;
    513         attribute [Conditional=VIDEO, V8EnabledAtRuntime] TimeRangesConstructor TimeRanges;
    514         attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLSourceElementConstructor HTMLSourceElement;
    515         attribute [Conditional=VIDEO, V8EnabledAtRuntime] MediaControllerConstructor MediaController;
    516498
    517499#if defined(ENABLE_ANIMATION_API) && ENABLE_ANIMATION_API
Note: See TracChangeset for help on using the changeset viewer.