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

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

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/platform/graphics/media/MediaPlayer.h ('k') | Source/web/WebMediaPlayerClientImpl.cpp » ('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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 public: 55 public:
56 static PassOwnPtr<MediaPlayer> create(MediaPlayerClient*); 56 static PassOwnPtr<MediaPlayer> create(MediaPlayerClient*);
57 57
58 virtual ~WebMediaPlayerClientImpl(); 58 virtual ~WebMediaPlayerClientImpl();
59 59
60 // WebMediaPlayerClient methods: 60 // WebMediaPlayerClient methods:
61 virtual void networkStateChanged() OVERRIDE; 61 virtual void networkStateChanged() OVERRIDE;
62 virtual void readyStateChanged() OVERRIDE; 62 virtual void readyStateChanged() OVERRIDE;
63 virtual void timeChanged() OVERRIDE; 63 virtual void timeChanged() OVERRIDE;
64 virtual void mediaEnded() OVERRIDE;
64 virtual void repaint() OVERRIDE; 65 virtual void repaint() OVERRIDE;
65 virtual void durationChanged() OVERRIDE; 66 virtual void durationChanged() OVERRIDE;
66 virtual void sizeChanged() OVERRIDE; 67 virtual void sizeChanged() OVERRIDE;
67 virtual void playbackStateChanged() OVERRIDE; 68 virtual void playbackStateChanged() OVERRIDE;
68 69
69 // WebEncryptedMediaPlayerClient methods: 70 // WebEncryptedMediaPlayerClient methods:
70 virtual void keyAdded(const WebString& keySystem, const WebString& sessionId ) OVERRIDE; 71 virtual void keyAdded(const WebString& keySystem, const WebString& sessionId ) OVERRIDE;
71 virtual void keyError(const WebString& keySystem, const WebString& sessionId , MediaKeyErrorCode, unsigned short systemCode) OVERRIDE; 72 virtual void keyError(const WebString& keySystem, const WebString& sessionId , MediaKeyErrorCode, unsigned short systemCode) OVERRIDE;
72 virtual void keyMessage(const WebString& keySystem, const WebString& session Id, const unsigned char* message, unsigned messageLength, const WebURL& defaultU RL) OVERRIDE; 73 virtual void keyMessage(const WebString& keySystem, const WebString& session Id, const unsigned char* message, unsigned messageLength, const WebURL& defaultU RL) OVERRIDE;
73 virtual void keyNeeded(const WebString& contentType, const unsigned char* in itData, unsigned initDataLength) OVERRIDE; 74 virtual void keyNeeded(const WebString& contentType, const unsigned char* in itData, unsigned initDataLength) OVERRIDE;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 Mutex provideInputLock; 151 Mutex provideInputLock;
151 }; 152 };
152 153
153 AudioSourceProviderImpl m_audioSourceProvider; 154 AudioSourceProviderImpl m_audioSourceProvider;
154 #endif 155 #endif
155 }; 156 };
156 157
157 } // namespace blink 158 } // namespace blink
158 159
159 #endif 160 #endif
OLDNEW
« no previous file with comments | « Source/platform/graphics/media/MediaPlayer.h ('k') | Source/web/WebMediaPlayerClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698