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

Side by Side Diff: media/base/android/media_player_manager.h

Issue 1156273006: Remove unused code calling WebMediaPlayerClient::requestFullscreen() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 (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 MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_ 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_
6 #define MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_ 6 #define MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "media/base/android/demuxer_stream_player_params.h" 10 #include "media/base/android/demuxer_stream_player_params.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // Called when the player pauses as a new key is required to decrypt 69 // Called when the player pauses as a new key is required to decrypt
70 // encrypted content. 70 // encrypted content.
71 virtual void OnWaitingForDecryptionKey(int player_id) = 0; 71 virtual void OnWaitingForDecryptionKey(int player_id) = 0;
72 72
73 // Returns the player that's in the fullscreen mode currently. 73 // Returns the player that's in the fullscreen mode currently.
74 virtual MediaPlayerAndroid* GetFullscreenPlayer() = 0; 74 virtual MediaPlayerAndroid* GetFullscreenPlayer() = 0;
75 75
76 // Returns the player with the specified id. 76 // Returns the player with the specified id.
77 virtual MediaPlayerAndroid* GetPlayer(int player_id) = 0; 77 virtual MediaPlayerAndroid* GetPlayer(int player_id) = 0;
78 78
79 // Called by the player to get a hardware protected surface.
80 virtual void RequestFullScreen(int player_id) = 0;
81
82 // Called by the player to request to play. The manager should use this 79 // Called by the player to request to play. The manager should use this
83 // opportunity to check if the current context is appropriate for a media to 80 // opportunity to check if the current context is appropriate for a media to
84 // play. 81 // play.
85 // Returns whether the request was granted. 82 // Returns whether the request was granted.
86 virtual bool RequestPlay(int player_id) = 0; 83 virtual bool RequestPlay(int player_id) = 0;
87 }; 84 };
88 85
89 } // namespace media 86 } // namespace media
90 87
91 #endif // MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_ 88 #endif // MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_
OLDNEW
« no previous file with comments | « content/renderer/media/android/webmediaplayer_android.cc ('k') | media/base/android/media_source_player_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698