Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: Source/core/html/track/InbandTextTrack.h

Issue 59913005: Remove unused TextTrack virtual functions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/html/track/InbandTextTrack.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2012, 2013 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 24 matching lines...) Expand all
35 class Document; 35 class Document;
36 class InbandTextTrackPrivate; 36 class InbandTextTrackPrivate;
37 class MediaPlayer; 37 class MediaPlayer;
38 class TextTrackCue; 38 class TextTrackCue;
39 39
40 class InbandTextTrack : public TextTrack, public InbandTextTrackPrivateClient { 40 class InbandTextTrack : public TextTrack, public InbandTextTrackPrivateClient {
41 public: 41 public:
42 static PassRefPtr<InbandTextTrack> create(Document&, TextTrackClient*, PassR efPtr<InbandTextTrackPrivate>); 42 static PassRefPtr<InbandTextTrack> create(Document&, TextTrackClient*, PassR efPtr<InbandTextTrackPrivate>);
43 virtual ~InbandTextTrack(); 43 virtual ~InbandTextTrack();
44 44
45 virtual bool isClosedCaptions() const OVERRIDE;
46 virtual bool containsOnlyForcedSubtitles() const OVERRIDE;
47 virtual bool isMainProgramContent() const OVERRIDE;
48 virtual bool isEasyToRead() const OVERRIDE;
49 virtual void setMode(const AtomicString&) OVERRIDE; 45 virtual void setMode(const AtomicString&) OVERRIDE;
50 size_t inbandTrackIndex(); 46 size_t inbandTrackIndex();
51 void trackRemoved(); 47 void trackRemoved();
52 48
53 private: 49 private:
54 InbandTextTrack(Document&, TextTrackClient*, PassRefPtr<InbandTextTrackPriva te>); 50 InbandTextTrack(Document&, TextTrackClient*, PassRefPtr<InbandTextTrackPriva te>);
55 51
56 virtual void addWebVTTCue(InbandTextTrackPrivate*, double, double, const Str ing&, const String&, const String&) OVERRIDE; 52 virtual void addWebVTTCue(InbandTextTrackPrivate*, double, double, const Str ing&, const String&, const String&) OVERRIDE;
57 53
58 RefPtr<InbandTextTrackPrivate> m_private; 54 RefPtr<InbandTextTrackPrivate> m_private;
59 }; 55 };
60 56
61 } // namespace WebCore 57 } // namespace WebCore
62 58
63 #endif 59 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/track/InbandTextTrack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698