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

Side by Side Diff: Source/web/InbandTextTrackPrivateImpl.cpp

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 | « Source/web/InbandTextTrackPrivateImpl.h ('k') | public/web/WebInbandTextTrack.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 WebCore::InbandTextTrackPrivate::Mode InbandTextTrackPrivateImpl::mode() const 57 WebCore::InbandTextTrackPrivate::Mode InbandTextTrackPrivateImpl::mode() const
58 { 58 {
59 return static_cast<WebCore::InbandTextTrackPrivate::Mode>(m_track->mode()); 59 return static_cast<WebCore::InbandTextTrackPrivate::Mode>(m_track->mode());
60 } 60 }
61 61
62 WebCore::InbandTextTrackPrivate::Kind InbandTextTrackPrivateImpl::kind() const 62 WebCore::InbandTextTrackPrivate::Kind InbandTextTrackPrivateImpl::kind() const
63 { 63 {
64 return static_cast<WebCore::InbandTextTrackPrivate::Kind>(m_track->kind()); 64 return static_cast<WebCore::InbandTextTrackPrivate::Kind>(m_track->kind());
65 } 65 }
66 66
67 bool InbandTextTrackPrivateImpl::isClosedCaptions() const
68 {
69 return m_track->isClosedCaptions();
70 }
71
72 AtomicString InbandTextTrackPrivateImpl::label() const 67 AtomicString InbandTextTrackPrivateImpl::label() const
73 { 68 {
74 return m_track->label(); 69 return m_track->label();
75 } 70 }
76 71
77 AtomicString InbandTextTrackPrivateImpl::language() const 72 AtomicString InbandTextTrackPrivateImpl::language() const
78 { 73 {
79 return m_track->language(); 74 return m_track->language();
80 } 75 }
81 76
(...skipping 11 matching lines...) Expand all
93 double start, 88 double start,
94 double end, 89 double end,
95 const WebString& id, 90 const WebString& id,
96 const WebString& content, 91 const WebString& content,
97 const WebString& settings) 92 const WebString& settings)
98 { 93 {
99 client()->addWebVTTCue(this, start, end, id, content, settings); 94 client()->addWebVTTCue(this, start, end, id, content, settings);
100 } 95 }
101 96
102 } // namespace WebKit 97 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/web/InbandTextTrackPrivateImpl.h ('k') | public/web/WebInbandTextTrack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698