Index: Source/core/html/track/TextTrack.h |
diff --git a/Source/core/html/track/TextTrack.h b/Source/core/html/track/TextTrack.h |
index ba8734ffed36fda01e420d308ffe722fa48e661b..767c2f9b810a469f3ae4354342310c765359fc56 100644 |
--- a/Source/core/html/track/TextTrack.h |
+++ b/Source/core/html/track/TextTrack.h |
@@ -33,10 +33,6 @@ |
#include <wtf/RefCounted.h> |
#include <wtf/text/WTFString.h> |
-#if USE(PLATFORM_TEXT_TRACK_MENU) |
-#include "core/platform/graphics/PlatformTextTrack.h" |
-#endif |
- |
namespace WebCore { |
class HTMLMediaElement; |
@@ -59,11 +55,7 @@ public: |
virtual void textTrackRemoveCue(TextTrack*, PassRefPtr<TextTrackCue>) = 0; |
}; |
-class TextTrack : public TrackBase |
-#if USE(PLATFORM_TEXT_TRACK_MENU) |
- , public PlatformTextTrackClient |
-#endif |
- { |
+class TextTrack : public TrackBase { |
public: |
static PassRefPtr<TextTrack> create(ScriptExecutionContext* context, TextTrackClient* client, const AtomicString& kind, const AtomicString& label, const AtomicString& language) |
{ |
@@ -145,10 +137,6 @@ public: |
void removeAllCues(); |
-#if USE(PLATFORM_TEXT_TRACK_MENU) |
- PassRefPtr<PlatformTextTrack> platformTextTrack(); |
-#endif |
- |
protected: |
TextTrack(ScriptExecutionContext*, TextTrackClient*, const AtomicString& kind, const AtomicString& label, const AtomicString& language, TextTrackType); |
#if ENABLE(WEBVTT_REGIONS) |
@@ -164,12 +152,6 @@ private: |
RefPtr<TextTrackRegionList> m_regions; |
#endif |
-#if USE(PLATFORM_TEXT_TRACK_MENU) |
- virtual TextTrack* publicTrack() OVERRIDE { return this; } |
- |
- RefPtr<PlatformTextTrack> m_platformTextTrack; |
-#endif |
- |
TextTrackCueList* ensureTextTrackCueList(); |
HTMLMediaElement* m_mediaElement; |