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

Side by Side Diff: content/renderer/media/android/webmediaplayer_proxy_android.h

Issue 41123002: Request video element to enter fullscreen when playing protected content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
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_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_
6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ 6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 void OnMediaError(int player_id, int error); 112 void OnMediaError(int player_id, int error);
113 void OnVideoSizeChanged(int player_id, int width, int height); 113 void OnVideoSizeChanged(int player_id, int width, int height);
114 void OnTimeUpdate(int player_id, base::TimeDelta current_time); 114 void OnTimeUpdate(int player_id, base::TimeDelta current_time);
115 void OnMediaPlayerReleased(int player_id); 115 void OnMediaPlayerReleased(int player_id);
116 void OnConnectedToRemoteDevice(int player_id); 116 void OnConnectedToRemoteDevice(int player_id);
117 void OnDisconnectedFromRemoteDevice(int player_id); 117 void OnDisconnectedFromRemoteDevice(int player_id);
118 void OnDidExitFullscreen(int player_id); 118 void OnDidExitFullscreen(int player_id);
119 void OnDidEnterFullscreen(int player_id); 119 void OnDidEnterFullscreen(int player_id);
120 void OnPlayerPlay(int player_id); 120 void OnPlayerPlay(int player_id);
121 void OnPlayerPause(int player_id); 121 void OnPlayerPause(int player_id);
122 void OnRequestFullscreen(int player_id);
122 void OnKeyAdded(int media_keys_id, const std::string& session_id); 123 void OnKeyAdded(int media_keys_id, const std::string& session_id);
123 void OnKeyError(int media_keys_id, 124 void OnKeyError(int media_keys_id,
124 const std::string& session_id, 125 const std::string& session_id,
125 media::MediaKeys::KeyError error_code, 126 media::MediaKeys::KeyError error_code,
126 int system_code); 127 int system_code);
127 void OnKeyMessage(int media_keys_id, 128 void OnKeyMessage(int media_keys_id,
128 const std::string& session_id, 129 const std::string& session_id,
129 const std::vector<uint8>& message, 130 const std::vector<uint8>& message,
130 const std::string& destination_url); 131 const std::string& destination_url);
131 132
132 RendererMediaPlayerManager* manager_; 133 RendererMediaPlayerManager* manager_;
133 134
134 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerProxyAndroid); 135 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerProxyAndroid);
135 }; 136 };
136 137
137 } // namespace content 138 } // namespace content
138 139
139 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ 140 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698