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

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

Issue 530993002: WebMediaPlayerImpl should notify ended event Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 3 months 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/WebMediaPlayerClientImpl.h ('k') | public/platform/WebMediaPlayerClient.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 // 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
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
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
OLDNEW
« no previous file with comments | « Source/web/WebMediaPlayerClientImpl.h ('k') | public/platform/WebMediaPlayerClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698