Changeset 147917 in webkit


Ignore:
Timestamp:
Apr 8, 2013 9:13:47 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] Enable text tracks from track elements
https://bugs.webkit.org/show_bug.cgi?id=113522

Patch by Brendan Long <b.long@cablelabs.com> on 2013-04-08
Reviewed by Jocelyn Turcotte.

No new tests because they're already there. This just enables the feature.

  • Target.pri:
  • bindings/generic/RuntimeEnabledFeatures.cpp:

(WebCore):

  • platform/qt/LocalizedStringsQt.cpp:

(WebCore):
(WebCore::textTrackSubtitlesText):
(WebCore::textTrackOffText):
(WebCore::textTrackNoLabelText):

Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r147916 r147917  
     12013-04-08  Brendan Long  <b.long@cablelabs.com>
     2
     3        [Qt] Enable text tracks from track elements
     4        https://bugs.webkit.org/show_bug.cgi?id=113522
     5
     6        Reviewed by Jocelyn Turcotte.
     7
     8        No new tests because they're already there. This just enables the feature.
     9
     10        * Target.pri:
     11        * bindings/generic/RuntimeEnabledFeatures.cpp:
     12        (WebCore):
     13        * platform/qt/LocalizedStringsQt.cpp:
     14        (WebCore):
     15        (WebCore::textTrackSubtitlesText):
     16        (WebCore::textTrackOffText):
     17        (WebCore::textTrackNoLabelText):
     18
    1192013-04-08  Sergio Villar Senin  <svillar@igalia.com>
    220
  • trunk/Source/WebCore/Target.pri

    r147843 r147917  
    10511051    platform/graphics/SurrogatePairAwareTextIterator.cpp \
    10521052    platform/graphics/TextRun.cpp \
    1053     platform/graphics/TextTrackRepresentation.cpp \
    10541053    platform/graphics/TiledBackingStore.cpp \
    10551054    platform/graphics/transforms/AffineTransform.cpp \
     
    12611260    rendering/RenderTextControlSingleLine.cpp \
    12621261    rendering/RenderTextFragment.cpp \
    1263     rendering/RenderTextTrackCue.cpp \
    12641262    rendering/RenderTheme.cpp \
    12651263    rendering/RenderTreeAsText.cpp \
     
    19151913    html/HTMLTextFormControlElement.h \
    19161914    html/HTMLTitleElement.h \
    1917     html/HTMLTrackElement.h \
    19181915    html/HTMLUListElement.h \
    19191916    html/HTMLVideoElement.h \
     
    19681965    html/shadow/MediaControlsApple.h \
    19691966    html/shadow/DetailsMarkerControl.h \
    1970     html/track/InbandTextTrack.h \
    1971     html/track/LoadableTextTrack.h \
    1972     html/track/TextTrack.h \
    1973     html/track/TextTrackCue.h \
    1974     html/track/TextTrackCueGeneric.h \
    1975     html/track/TextTrackCueList.h \
    1976     html/track/TextTrackList.h \
    1977     html/track/TrackBase.h \
    1978     html/track/TrackEvent.h \
    1979     html/track/WebVTTParser.h \
    1980     html/track/WebVTTToken.h \
    1981     html/track/WebVTTTokenizer.h \
    19821967    inspector/BindingVisitors.h \
    19831968    inspector/ConsoleAPITypes.h \
     
    20952080    loader/SubstituteData.h \
    20962081    loader/TextResourceDecoder.h \
    2097     loader/TextTrackLoader.h \
    20982082    loader/ThreadableLoader.h \
    20992083    loader/WorkerThreadableLoader.h \
     
    22662250    platform/graphics/ImageOrientation.h \
    22672251    platform/graphics/ImageSource.h \
    2268     platform/graphics/InbandTextTrackPrivate.h \
    2269     platform/graphics/InbandTextTrackPrivateClient.h \
    22702252    platform/graphics/IntPoint.h \
    22712253    platform/graphics/IntPointHash.h \
     
    39843966
    39853967enable?(VIDEO_TRACK) {
     3968    HEADERS += \
     3969        bindings/js/JSTextTrackCustom.h \
     3970        bindings/js/JSTrackCustom.h \
     3971        html/HTMLTrackElement.h \
     3972        html/track/InbandTextTrack.h \
     3973        html/track/LoadableTextTrack.h \
     3974        html/track/TextTrack.h \
     3975        html/track/TextTrackCue.h \
     3976        html/track/TextTrackCueGeneric.h \
     3977        html/track/TextTrackCueList.h \
     3978        html/track/TextTrackList.h \
     3979        html/track/TrackBase.h \
     3980        html/track/TrackEvent.h \
     3981        html/track/WebVTTParser.h \
     3982        html/track/WebVTTToken.h \
     3983        html/track/WebVTTTokenizer.h \
     3984        loader/TextTrackLoader.h \
     3985        platform/graphics/InbandTextTrackPrivate.h \
     3986        platform/graphics/InbandTextTrackPrivateClient.h
     3987
    39863988    SOURCES += \
    39873989        bindings/js/JSTextTrackCueCustom.cpp \
    39883990        bindings/js/JSTextTrackCustom.cpp \
    3989         bindings/js/JSTextTrackCustom.h \
    39903991        bindings/js/JSTrackCustom.cpp \
    3991         bindings/js/JSTrackCustom.h \
    39923992        bindings/js/JSTrackEventCustom.cpp \
    3993         bindings/js/JSTextTrackListCustom.cpp
     3993        bindings/js/JSTextTrackListCustom.cpp \
     3994        html/HTMLTrackElement.cpp \
     3995        html/track/InbandTextTrack.cpp \
     3996        html/track/LoadableTextTrack.cpp \
     3997        html/track/TextTrack.cpp \
     3998        html/track/TextTrackCue.cpp \
     3999        html/track/TextTrackCueGeneric.cpp \
     4000        html/track/TextTrackCueList.cpp \
     4001        html/track/TextTrackList.cpp \
     4002        html/track/TrackBase.cpp \
     4003        html/track/TrackEvent.cpp \
     4004        html/track/WebVTTElement.cpp \
     4005        html/track/WebVTTParser.cpp \
     4006        html/track/WebVTTTokenizer.cpp \
     4007        loader/cache/CachedTextTrack.cpp \
     4008        loader/TextTrackLoader.cpp \
     4009        platform/graphics/TextTrackRepresentation.cpp \
     4010        rendering/RenderTextTrackCue.cpp
    39944011}
    39954012
  • trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp

    r147888 r147917  
    179179
    180180#if ENABLE(VIDEO_TRACK)
    181 #if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(BLACKBERRY) || PLATFORM(WIN)
     181#if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(BLACKBERRY) || PLATFORM(WIN) || PLATFORM(QT)
    182182    bool RuntimeEnabledFeatures::isVideoTrackEnabled = true;
    183183#else
  • trunk/Source/WebCore/platform/qt/LocalizedStringsQt.cpp

    r147520 r147917  
    730730}
    731731
     732#if ENABLE(VIDEO_TRACK)
     733String textTrackSubtitlesText()
     734{
     735    notImplemented();
     736    return String();
     737}
     738
     739String textTrackOffText()
     740{
     741    notImplemented();
     742    return String();
     743}
     744
     745String textTrackNoLabelText()
     746{
     747    notImplemented();
     748    return String();
     749}
     750#endif
     751
    732752String snapshottedPlugInLabelTitle()
    733753{
Note: See TracChangeset for help on using the changeset viewer.