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

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

Issue 14247018: Implement WebRTC in Chrome for TV (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build fix 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
« no previous file with comments | « no previous file | content/browser/android/media_player_manager_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_IMPL_H_
6 #define CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_IMPL_H_ 6 #define CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // The instance of this class is supposed to be created by either Create() 88 // The instance of this class is supposed to be created by either Create()
89 // method of MediaPlayerManager or the derived classes constructors. 89 // method of MediaPlayerManager or the derived classes constructors.
90 explicit MediaPlayerManagerImpl(RenderViewHost* render_view_host); 90 explicit MediaPlayerManagerImpl(RenderViewHost* render_view_host);
91 91
92 // Message handlers. 92 // Message handlers.
93 virtual void OnEnterFullscreen(int player_id); 93 virtual void OnEnterFullscreen(int player_id);
94 virtual void OnExitFullscreen(int player_id); 94 virtual void OnExitFullscreen(int player_id);
95 virtual void OnInitialize( 95 virtual void OnInitialize(
96 int player_id, 96 int player_id,
97 const GURL& url, 97 const GURL& url,
98 bool is_media_source, 98 media::MediaPlayerAndroid::SourceType source_type,
99 const GURL& first_party_for_cookies); 99 const GURL& first_party_for_cookies);
100 virtual void OnStart(int player_id); 100 virtual void OnStart(int player_id);
101 virtual void OnSeek(int player_id, base::TimeDelta time); 101 virtual void OnSeek(int player_id, base::TimeDelta time);
102 virtual void OnPause(int player_id); 102 virtual void OnPause(int player_id);
103 virtual void OnReleaseResources(int player_id); 103 virtual void OnReleaseResources(int player_id);
104 virtual void OnDestroyPlayer(int player_id); 104 virtual void OnDestroyPlayer(int player_id);
105 virtual void OnDemuxerReady( 105 virtual void OnDemuxerReady(
106 int player_id, 106 int player_id,
107 const media::MediaPlayerHostMsg_DemuxerReady_Params& params); 107 const media::MediaPlayerHostMsg_DemuxerReady_Params& params);
108 virtual void OnReadFromDemuxerAck( 108 virtual void OnReadFromDemuxerAck(
(...skipping 26 matching lines...) Expand all
135 135
136 // Object for retrieving resources media players. 136 // Object for retrieving resources media players.
137 scoped_ptr<media::MediaResourceGetter> media_resource_getter_; 137 scoped_ptr<media::MediaResourceGetter> media_resource_getter_;
138 138
139 DISALLOW_COPY_AND_ASSIGN(MediaPlayerManagerImpl); 139 DISALLOW_COPY_AND_ASSIGN(MediaPlayerManagerImpl);
140 }; 140 };
141 141
142 } // namespace content 142 } // namespace content
143 143
144 #endif // CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_IMPL_H_ 144 #endif // CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/media_player_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698