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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 } | 297 } |
293 | 298 |
294 void WebMediaPlayerClientImpl::AudioClientImpl::trace(Visitor* visitor) | 299 void WebMediaPlayerClientImpl::AudioClientImpl::trace(Visitor* visitor) |
295 { | 300 { |
296 visitor->trace(m_client); | 301 visitor->trace(m_client); |
297 } | 302 } |
298 | 303 |
299 #endif | 304 #endif |
300 | 305 |
301 } // namespace blink | 306 } // namespace blink |
OLD | NEW |