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

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

Issue 14936003: Remove unused code behind USE(PLATFORM_TEXT_TRACK_MENU) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 years, 7 months 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/core/html/track/TextTrack.h » ('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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual bool isEasyToRead() const OVERRIDE; 49 virtual bool isEasyToRead() const OVERRIDE;
50 virtual void setMode(const AtomicString&) OVERRIDE; 50 virtual void setMode(const AtomicString&) OVERRIDE;
51 size_t inbandTrackIndex(); 51 size_t inbandTrackIndex();
52 52
53 private: 53 private:
54 InbandTextTrack(ScriptExecutionContext*, TextTrackClient*, PassRefPtr<Inband TextTrackPrivate>); 54 InbandTextTrack(ScriptExecutionContext*, TextTrackClient*, PassRefPtr<Inband TextTrackPrivate>);
55 55
56 virtual void addGenericCue(InbandTextTrackPrivate*, GenericCueData*) OVERRID E; 56 virtual void addGenericCue(InbandTextTrackPrivate*, GenericCueData*) OVERRID E;
57 virtual void addWebVTTCue(InbandTextTrackPrivate*, double, double, const Str ing&, const String&, const String&) OVERRIDE; 57 virtual void addWebVTTCue(InbandTextTrackPrivate*, double, double, const Str ing&, const String&, const String&) OVERRIDE;
58 58
59 #if USE(PLATFORM_TEXT_TRACK_MENU)
60 virtual InbandTextTrackPrivate* privateTrack() OVERRIDE { return m_private.g et(); }
61 #endif
62
63 RefPtr<InbandTextTrackPrivate> m_private; 59 RefPtr<InbandTextTrackPrivate> m_private;
64 }; 60 };
65 61
66 } // namespace WebCore 62 } // namespace WebCore
67 63
68 #endif 64 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/core/html/track/TextTrack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698