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

Side by Side Diff: media/blink/renderer_media_player_interface.h

Issue 2468303002: [RemotePlayback] Stop remote playback when disableRemotePlayback is set (Closed)
Patch Set: Rebase, addressed comments Created 4 years, 1 month 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 MEDIA_BLINK_RENDERER_MEDIA_PLAYER_INTERFACE_H_ 5 #ifndef MEDIA_BLINK_RENDERER_MEDIA_PLAYER_INTERFACE_H_
6 #define MEDIA_BLINK_RENDERER_MEDIA_PLAYER_INTERFACE_H_ 6 #define MEDIA_BLINK_RENDERER_MEDIA_PLAYER_INTERFACE_H_
7 7
8 // This file contains interfaces modeled after classes in 8 // This file contains interfaces modeled after classes in
9 // content/renderer/media/android for the purposes of letting clases in 9 // content/renderer/media/android for the purposes of letting clases in
10 // this directory implement and/or interact with those classes. 10 // this directory implement and/or interact with those classes.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 // Destroys the player in the browser process 103 // Destroys the player in the browser process
104 virtual void DestroyPlayer(int player_id) = 0; 104 virtual void DestroyPlayer(int player_id) = 0;
105 105
106 // Requests remote playback if possible 106 // Requests remote playback if possible
107 virtual void RequestRemotePlayback(int player_id) = 0; 107 virtual void RequestRemotePlayback(int player_id) = 0;
108 108
109 // Requests control of remote playback 109 // Requests control of remote playback
110 virtual void RequestRemotePlaybackControl(int player_id) = 0; 110 virtual void RequestRemotePlaybackControl(int player_id) = 0;
111 111
112 // Requests stopping remote playback
113 virtual void RequestRemotePlaybackStop(int player_id) = 0;
114
112 // Registers and unregisters a RendererMediaPlayerInterface object. 115 // Registers and unregisters a RendererMediaPlayerInterface object.
113 virtual int RegisterMediaPlayer(RendererMediaPlayerInterface* player) = 0; 116 virtual int RegisterMediaPlayer(RendererMediaPlayerInterface* player) = 0;
114 virtual void UnregisterMediaPlayer(int player_id) = 0; 117 virtual void UnregisterMediaPlayer(int player_id) = 0;
115 }; 118 };
116 119
117 } // namespace media 120 } // namespace media
118 121
119 #endif // MEDIA_BLINK_RENDERER_MEDIA_PLAYER_INTERFACE_H_ 122 #endif // MEDIA_BLINK_RENDERER_MEDIA_PLAYER_INTERFACE_H_
OLDNEW
« no previous file with comments | « content/renderer/media/android/webmediaplayer_android.cc ('k') | media/blink/webmediaplayer_cast_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698