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

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

Issue 408873004: Fix for cross-origin video check for webgl on android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang warnings Created 6 years, 4 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_RENDERER_MEDIA_PLAYER_MANAGER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_RENDERER_MEDIA_PLAYER_MANAGER_H_
6 #define CONTENT_RENDERER_MEDIA_ANDROID_RENDERER_MEDIA_PLAYER_MANAGER_H_ 6 #define CONTENT_RENDERER_MEDIA_ANDROID_RENDERER_MEDIA_PLAYER_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 27 matching lines...) Expand all
38 38
39 // RenderFrameObserver overrides. 39 // RenderFrameObserver overrides.
40 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 40 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
41 41
42 // Initializes a MediaPlayerAndroid object in browser process. 42 // Initializes a MediaPlayerAndroid object in browser process.
43 void Initialize(MediaPlayerHostMsg_Initialize_Type type, 43 void Initialize(MediaPlayerHostMsg_Initialize_Type type,
44 int player_id, 44 int player_id,
45 const GURL& url, 45 const GURL& url,
46 const GURL& first_party_for_cookies, 46 const GURL& first_party_for_cookies,
47 int demuxer_client_id, 47 int demuxer_client_id,
48 const GURL& frame_url); 48 const GURL& frame_url,
49 bool allow_credentials);
49 50
50 // Starts the player. 51 // Starts the player.
51 void Start(int player_id); 52 void Start(int player_id);
52 53
53 // Pauses the player. 54 // Pauses the player.
54 // is_media_related_action should be true if this pause is coming from an 55 // is_media_related_action should be true if this pause is coming from an
55 // an action that explicitly pauses the video (user pressing pause, JS, etc.) 56 // an action that explicitly pauses the video (user pressing pause, JS, etc.)
56 // Otherwise it should be false if Pause is being called due to other reasons 57 // Otherwise it should be false if Pause is being called due to other reasons
57 // (cleanup, freeing resources, etc.) 58 // (cleanup, freeing resources, etc.)
58 void Pause(int player_id, bool is_media_related_action); 59 void Pause(int player_id, bool is_media_related_action);
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 163
163 // WebFrame of pending fullscreen request. 164 // WebFrame of pending fullscreen request.
164 blink::WebFrame* pending_fullscreen_frame_; 165 blink::WebFrame* pending_fullscreen_frame_;
165 166
166 DISALLOW_COPY_AND_ASSIGN(RendererMediaPlayerManager); 167 DISALLOW_COPY_AND_ASSIGN(RendererMediaPlayerManager);
167 }; 168 };
168 169
169 } // namespace content 170 } // namespace content
170 171
171 #endif // CONTENT_RENDERER_MEDIA_ANDROID_RENDERER_MEDIA_PLAYER_MANAGER_H_ 172 #endif // CONTENT_RENDERER_MEDIA_ANDROID_RENDERER_MEDIA_PLAYER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698