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

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

Issue 60203008: Remove the mode getter/setter for in-band text tracks (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 void setMode(const AtomicString&) OVERRIDE;
46 size_t inbandTrackIndex(); 45 size_t inbandTrackIndex();
47 void trackRemoved(); 46 void trackRemoved();
48 47
49 private: 48 private:
50 InbandTextTrack(Document&, TextTrackClient*, PassRefPtr<InbandTextTrackPriva te>); 49 InbandTextTrack(Document&, TextTrackClient*, PassRefPtr<InbandTextTrackPriva te>);
51 50
52 virtual void addWebVTTCue(InbandTextTrackPrivate*, double, double, const Str ing&, const String&, const String&) OVERRIDE; 51 virtual void addWebVTTCue(InbandTextTrackPrivate*, double, double, const Str ing&, const String&, const String&) OVERRIDE;
53 52
54 RefPtr<InbandTextTrackPrivate> m_private; 53 RefPtr<InbandTextTrackPrivate> m_private;
55 }; 54 };
56 55
57 } // namespace WebCore 56 } // namespace WebCore
58 57
59 #endif 58 #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