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

Side by Side Diff: webkit/renderer/media/android/webmediaplayer_android.h

Issue 16098014: Handle config changes for MSE on android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef WEBKIT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 5 #ifndef WEBKIT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_
6 #define WEBKIT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 6 #define WEBKIT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 OVERRIDE; 148 OVERRIDE;
149 149
150 // Media player callback handlers. 150 // Media player callback handlers.
151 void OnMediaMetadataChanged(base::TimeDelta duration, int width, 151 void OnMediaMetadataChanged(base::TimeDelta duration, int width,
152 int height, bool success); 152 int height, bool success);
153 void OnPlaybackComplete(); 153 void OnPlaybackComplete();
154 void OnBufferingUpdate(int percentage); 154 void OnBufferingUpdate(int percentage);
155 void OnSeekComplete(base::TimeDelta current_time); 155 void OnSeekComplete(base::TimeDelta current_time);
156 void OnMediaError(int error_type); 156 void OnMediaError(int error_type);
157 void OnVideoSizeChanged(int width, int height); 157 void OnVideoSizeChanged(int width, int height);
158 void OnMediaSeekRequest(base::TimeDelta time_to_seek, 158 void OnMediaSeekRequest(base::TimeDelta time_to_seek);
159 bool request_texture_peer); 159 void OnMediaConfigRequest();
160 160
161 // Called to update the current time. 161 // Called to update the current time.
162 void OnTimeUpdate(base::TimeDelta current_time); 162 void OnTimeUpdate(base::TimeDelta current_time);
163 163
164 // Functions called when media player status changes. 164 // Functions called when media player status changes.
165 void OnMediaPlayerPlay(); 165 void OnMediaPlayerPlay();
166 void OnMediaPlayerPause(); 166 void OnMediaPlayerPause();
167 void OnDidEnterFullscreen(); 167 void OnDidEnterFullscreen();
168 void OnDidExitFullscreen(); 168 void OnDidExitFullscreen();
169 169
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 369
370 // The decryptor that manages decryption keys and decrypts encrypted frames. 370 // The decryptor that manages decryption keys and decrypts encrypted frames.
371 scoped_ptr<ProxyDecryptor> decryptor_; 371 scoped_ptr<ProxyDecryptor> decryptor_;
372 372
373 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid); 373 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid);
374 }; 374 };
375 375
376 } // namespace webkit_media 376 } // namespace webkit_media
377 377
378 #endif // WEBKIT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 378 #endif // WEBKIT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698