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

Side by Side Diff: content/browser/media/android/browser_media_player_manager.h

Issue 302453012: Support casting for embedded YT videos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated comments Created 6 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
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 CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_PLAYER_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_PLAYER_MANAGER_H_
6 #define CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_PLAYER_MANAGER_H_ 6 #define CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_PLAYER_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 // Message handlers. 120 // Message handlers.
121 virtual void OnEnterFullscreen(int player_id); 121 virtual void OnEnterFullscreen(int player_id);
122 virtual void OnExitFullscreen(int player_id); 122 virtual void OnExitFullscreen(int player_id);
123 virtual void OnInitialize( 123 virtual void OnInitialize(
124 MediaPlayerHostMsg_Initialize_Type type, 124 MediaPlayerHostMsg_Initialize_Type type,
125 int player_id, 125 int player_id,
126 const GURL& url, 126 const GURL& url,
127 const GURL& first_party_for_cookies, 127 const GURL& first_party_for_cookies,
128 int demuxer_client_id); 128 int demuxer_client_id);
129 virtual void OnSetPlayerFrameUrl(int player_id, const GURL& frame_url);
129 virtual void OnStart(int player_id); 130 virtual void OnStart(int player_id);
130 virtual void OnSeek(int player_id, const base::TimeDelta& time); 131 virtual void OnSeek(int player_id, const base::TimeDelta& time);
131 virtual void OnPause(int player_id, bool is_media_related_action); 132 virtual void OnPause(int player_id, bool is_media_related_action);
132 virtual void OnSetVolume(int player_id, double volume); 133 virtual void OnSetVolume(int player_id, double volume);
133 virtual void OnSetPoster(int player_id, const GURL& poster); 134 virtual void OnSetPoster(int player_id, const GURL& poster);
134 virtual void OnReleaseResources(int player_id); 135 virtual void OnReleaseResources(int player_id);
135 virtual void OnDestroyPlayer(int player_id); 136 virtual void OnDestroyPlayer(int player_id);
136 virtual void ReleaseFullscreenPlayer(media::MediaPlayerAndroid* player); 137 virtual void ReleaseFullscreenPlayer(media::MediaPlayerAndroid* player);
137 void OnInitializeCdm(int cdm_id, 138 void OnInitializeCdm(int cdm_id,
138 const std::string& key_system, 139 const std::string& key_system,
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 252
252 // NOTE: Weak pointers must be invalidated before all other member variables. 253 // NOTE: Weak pointers must be invalidated before all other member variables.
253 base::WeakPtrFactory<BrowserMediaPlayerManager> weak_ptr_factory_; 254 base::WeakPtrFactory<BrowserMediaPlayerManager> weak_ptr_factory_;
254 255
255 DISALLOW_COPY_AND_ASSIGN(BrowserMediaPlayerManager); 256 DISALLOW_COPY_AND_ASSIGN(BrowserMediaPlayerManager);
256 }; 257 };
257 258
258 } // namespace content 259 } // namespace content
259 260
260 #endif // CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_PLAYER_MANAGER_H_ 261 #endif // CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_PLAYER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698