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

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: 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
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 Mutex provideInputLock; 148 Mutex provideInputLock;
148 }; 149 };
149 150
150 AudioSourceProviderImpl m_audioSourceProvider; 151 AudioSourceProviderImpl m_audioSourceProvider;
151 #endif 152 #endif
152 }; 153 };
153 154
154 } // namespace blink 155 } // namespace blink
155 156
156 #endif 157 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698