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

Side by Side Diff: webkit/media/android/webmediaplayer_in_process_android.h

Issue 12443003: Implement out-of-band video compositing on Android: Step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 9 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_MEDIA_ANDROID_WEBMEDIAPLAYER_IN_PROCESS_ANDROID_H_ 5 #ifndef WEBKIT_MEDIA_ANDROID_WEBMEDIAPLAYER_IN_PROCESS_ANDROID_H_
6 #define WEBKIT_MEDIA_ANDROID_WEBMEDIAPLAYER_IN_PROCESS_ANDROID_H_ 6 #define WEBKIT_MEDIA_ANDROID_WEBMEDIAPLAYER_IN_PROCESS_ANDROID_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include <jni.h> 10 #include <jni.h>
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 private: 89 private:
90 // Methods inherited from WebMediaPlayerAndroid. 90 // Methods inherited from WebMediaPlayerAndroid.
91 virtual void InitializeMediaPlayer(GURL url) OVERRIDE; 91 virtual void InitializeMediaPlayer(GURL url) OVERRIDE;
92 virtual void PlayInternal() OVERRIDE; 92 virtual void PlayInternal() OVERRIDE;
93 virtual void PauseInternal() OVERRIDE; 93 virtual void PauseInternal() OVERRIDE;
94 virtual void SeekInternal(base::TimeDelta time) OVERRIDE; 94 virtual void SeekInternal(base::TimeDelta time) OVERRIDE;
95 virtual float GetCurrentTimeInternal() const OVERRIDE; 95 virtual float GetCurrentTimeInternal() const OVERRIDE;
96 virtual void ReleaseResourcesInternal() OVERRIDE; 96 virtual void ReleaseResourcesInternal() OVERRIDE;
97 virtual void Destroy() OVERRIDE; 97 virtual void Destroy() OVERRIDE;
98 virtual void RequestExternalSurface() OVERRIDE;
98 99
99 WebKit::WebFrame* const frame_; 100 WebKit::WebFrame* const frame_;
100 101
101 // Bridge to the android media player. 102 // Bridge to the android media player.
102 scoped_ptr<media::MediaPlayerBridge> media_player_; 103 scoped_ptr<media::MediaPlayerBridge> media_player_;
103 104
104 // Whether playback has completed. 105 // Whether playback has completed.
105 float playback_completed_; 106 float playback_completed_;
106 107
107 // Pointer to the cookie jar to get the cookie for the media url. 108 // Pointer to the cookie jar to get the cookie for the media url.
108 WebKit::WebCookieJar* cookie_jar_; 109 WebKit::WebCookieJar* cookie_jar_;
109 110
110 // Manager for managing all the hardware player resources. 111 // Manager for managing all the hardware player resources.
111 media::MediaPlayerBridgeManager* resource_manager_; 112 media::MediaPlayerBridgeManager* resource_manager_;
112 113
113 // Whether we should disable history logging. 114 // Whether we should disable history logging.
114 bool disable_history_logging_; 115 bool disable_history_logging_;
115 116
116 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerInProcessAndroid); 117 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerInProcessAndroid);
117 }; 118 };
118 119
119 } // namespace webkit_media 120 } // namespace webkit_media
120 121
121 #endif // WEBKIT_MEDIA_ANDROID_WEBMEDIAPLAYER_IN_PROCESS_ANDROID_H_ 122 #endif // WEBKIT_MEDIA_ANDROID_WEBMEDIAPLAYER_IN_PROCESS_ANDROID_H_
OLDNEW
« no previous file with comments | « webkit/media/android/webmediaplayer_impl_android.cc ('k') | webkit/media/android/webmediaplayer_in_process_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698