OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 #include "web/WebMediaPlayerClientImpl.h" | 6 #include "web/WebMediaPlayerClientImpl.h" |
7 | 7 |
8 #include "core/frame/LocalFrame.h" | 8 #include "core/frame/LocalFrame.h" |
9 #include "core/html/HTMLMediaElement.h" | 9 #include "core/html/HTMLMediaElement.h" |
10 #include "core/html/TimeRanges.h" | 10 #include "core/html/TimeRanges.h" |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 { | 160 { |
161 m_client->mediaPlayerDidRemoveTextTrack(textTrack); | 161 m_client->mediaPlayerDidRemoveTextTrack(textTrack); |
162 } | 162 } |
163 | 163 |
164 void WebMediaPlayerClientImpl::mediaSourceOpened(WebMediaSource* webMediaSource) | 164 void WebMediaPlayerClientImpl::mediaSourceOpened(WebMediaSource* webMediaSource) |
165 { | 165 { |
166 ASSERT(webMediaSource); | 166 ASSERT(webMediaSource); |
167 m_client->mediaPlayerMediaSourceOpened(webMediaSource); | 167 m_client->mediaPlayerMediaSourceOpened(webMediaSource); |
168 } | 168 } |
169 | 169 |
170 void WebMediaPlayerClientImpl::requestFullscreen() | |
171 { | |
172 m_client->mediaPlayerRequestFullscreen(); | |
173 } | |
174 | |
175 void WebMediaPlayerClientImpl::requestSeek(double time) | 170 void WebMediaPlayerClientImpl::requestSeek(double time) |
176 { | 171 { |
177 m_client->mediaPlayerRequestSeek(time); | 172 m_client->mediaPlayerRequestSeek(time); |
178 } | 173 } |
179 | 174 |
180 void WebMediaPlayerClientImpl::remoteRouteAvailabilityChanged(bool routesAvailab
le) | 175 void WebMediaPlayerClientImpl::remoteRouteAvailabilityChanged(bool routesAvailab
le) |
181 { | 176 { |
182 mediaElement().remoteRouteAvailabilityChanged(routesAvailable); | 177 mediaElement().remoteRouteAvailabilityChanged(routesAvailable); |
183 } | 178 } |
184 | 179 |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 } | 302 } |
308 | 303 |
309 DEFINE_TRACE(WebMediaPlayerClientImpl::AudioClientImpl) | 304 DEFINE_TRACE(WebMediaPlayerClientImpl::AudioClientImpl) |
310 { | 305 { |
311 visitor->trace(m_client); | 306 visitor->trace(m_client); |
312 } | 307 } |
313 | 308 |
314 #endif | 309 #endif |
315 | 310 |
316 } // namespace blink | 311 } // namespace blink |
OLD | NEW |