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

Side by Side Diff: content/browser/android/media_player_manager_android.h

Issue 14247018: Implement WebRTC in Chrome for TV (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed some comments Created 7 years, 7 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 CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_ANDROID_H_
6 #define CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_ANDROID_H_ 6 #define CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void DetachExternalVideoSurface(int player_id); 80 void DetachExternalVideoSurface(int player_id);
81 #endif 81 #endif
82 82
83 media::MediaPlayerBridge* GetFullscreenPlayer(); 83 media::MediaPlayerBridge* GetFullscreenPlayer();
84 media::MediaPlayerBridge* GetPlayer(int player_id); 84 media::MediaPlayerBridge* GetPlayer(int player_id);
85 85
86 private: 86 private:
87 // Message handlers. 87 // Message handlers.
88 void OnEnterFullscreen(int player_id); 88 void OnEnterFullscreen(int player_id);
89 void OnExitFullscreen(int player_id); 89 void OnExitFullscreen(int player_id);
90 void OnInitialize(int player_id, const GURL& url, 90 void OnInitialize(int player_id,
91 bool is_media_source, 91 const GURL& url,
92 media::MediaPlayerBridge::MediaType media_type,
92 const GURL& first_party_for_cookies); 93 const GURL& first_party_for_cookies);
93 void OnStart(int player_id); 94 void OnStart(int player_id);
94 void OnSeek(int player_id, base::TimeDelta time); 95 void OnSeek(int player_id, base::TimeDelta time);
95 void OnPause(int player_id); 96 void OnPause(int player_id);
96 void OnReleaseResources(int player_id); 97 void OnReleaseResources(int player_id);
97 void OnDestroyPlayer(int player_id); 98 void OnDestroyPlayer(int player_id);
98 #if defined(GOOGLE_TV) 99 #if defined(GOOGLE_TV)
99 void OnRequestExternalSurface(int player_id); 100 void OnRequestExternalSurface(int player_id);
100 void OnNotifyGeometryChange(int player_id, const gfx::RectF& rect); 101 void OnNotifyGeometryChange(int player_id, const gfx::RectF& rect);
101 void OnDemuxerReady( 102 void OnDemuxerReady(
(...skipping 14 matching lines...) Expand all
116 int fullscreen_player_id_; 117 int fullscreen_player_id_;
117 118
118 WebContents* web_contents_; 119 WebContents* web_contents_;
119 120
120 DISALLOW_COPY_AND_ASSIGN(MediaPlayerManagerAndroid); 121 DISALLOW_COPY_AND_ASSIGN(MediaPlayerManagerAndroid);
121 }; 122 };
122 123
123 } // namespace content 124 } // namespace content
124 125
125 #endif // CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_ANDROID_H_ 126 #endif // CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_ANDROID_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/media_player_manager_android.cc » ('j') | content/content_renderer.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698