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

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

Issue 60633004: Remove WebInbandTextTrack::isDefault() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@unusedtrack
Patch Set: remove more 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 AtomicString InbandTextTrackPrivateImpl::label() const 67 AtomicString InbandTextTrackPrivateImpl::label() const
68 { 68 {
69 return m_track->label(); 69 return m_track->label();
70 } 70 }
71 71
72 AtomicString InbandTextTrackPrivateImpl::language() const 72 AtomicString InbandTextTrackPrivateImpl::language() const
73 { 73 {
74 return m_track->language(); 74 return m_track->language();
75 } 75 }
76 76
77 bool InbandTextTrackPrivateImpl::isDefault() const
78 {
79 return m_track->isDefault();
80 }
81
82 int InbandTextTrackPrivateImpl::textTrackIndex() const 77 int InbandTextTrackPrivateImpl::textTrackIndex() const
83 { 78 {
84 return m_track->textTrackIndex(); 79 return m_track->textTrackIndex();
85 } 80 }
86 81
87 void InbandTextTrackPrivateImpl::addWebVTTCue( 82 void InbandTextTrackPrivateImpl::addWebVTTCue(
88 double start, 83 double start,
89 double end, 84 double end,
90 const WebString& id, 85 const WebString& id,
91 const WebString& content, 86 const WebString& content,
92 const WebString& settings) 87 const WebString& settings)
93 { 88 {
94 client()->addWebVTTCue(this, start, end, id, content, settings); 89 client()->addWebVTTCue(this, start, end, id, content, settings);
95 } 90 }
96 91
97 } // namespace WebKit 92 } // 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