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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 void WebMediaPlayerClientImpl::readyStateChanged() | 82 void WebMediaPlayerClientImpl::readyStateChanged() |
83 { | 83 { |
84 m_client->mediaPlayerReadyStateChanged(); | 84 m_client->mediaPlayerReadyStateChanged(); |
85 } | 85 } |
86 | 86 |
87 void WebMediaPlayerClientImpl::timeChanged() | 87 void WebMediaPlayerClientImpl::timeChanged() |
88 { | 88 { |
89 m_client->mediaPlayerTimeChanged(); | 89 m_client->mediaPlayerTimeChanged(); |
90 } | 90 } |
91 | 91 |
| 92 void WebMediaPlayerClientImpl::mediaEnded() |
| 93 { |
| 94 m_client->mediaPlayerEnded(); |
| 95 } |
| 96 |
92 void WebMediaPlayerClientImpl::repaint() | 97 void WebMediaPlayerClientImpl::repaint() |
93 { | 98 { |
94 m_client->mediaPlayerRepaint(); | 99 m_client->mediaPlayerRepaint(); |
95 } | 100 } |
96 | 101 |
97 void WebMediaPlayerClientImpl::durationChanged() | 102 void WebMediaPlayerClientImpl::durationChanged() |
98 { | 103 { |
99 m_client->mediaPlayerDurationChanged(); | 104 m_client->mediaPlayerDurationChanged(); |
100 } | 105 } |
101 | 106 |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 } | 312 } |
308 | 313 |
309 void WebMediaPlayerClientImpl::AudioClientImpl::trace(Visitor* visitor) | 314 void WebMediaPlayerClientImpl::AudioClientImpl::trace(Visitor* visitor) |
310 { | 315 { |
311 visitor->trace(m_client); | 316 visitor->trace(m_client); |
312 } | 317 } |
313 | 318 |
314 #endif | 319 #endif |
315 | 320 |
316 } // namespace blink | 321 } // namespace blink |
OLD | NEW |