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

Side by Side Diff: content/common/media/media_player_messages_android.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 (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 // IPC messages for android media player. 5 // IPC messages for android media player.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
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 "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 // Parameters to describe a media player 65 // Parameters to describe a media player
66 IPC_STRUCT_BEGIN(MediaPlayerHostMsg_Initialize_Params) 66 IPC_STRUCT_BEGIN(MediaPlayerHostMsg_Initialize_Params)
67 IPC_STRUCT_MEMBER(MediaPlayerHostMsg_Initialize_Type, type) 67 IPC_STRUCT_MEMBER(MediaPlayerHostMsg_Initialize_Type, type)
68 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, metafile_data_handle) 68 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, metafile_data_handle)
69 IPC_STRUCT_MEMBER(int, player_id) 69 IPC_STRUCT_MEMBER(int, player_id)
70 IPC_STRUCT_MEMBER(int, demuxer_client_id) 70 IPC_STRUCT_MEMBER(int, demuxer_client_id)
71 IPC_STRUCT_MEMBER(GURL, url) 71 IPC_STRUCT_MEMBER(GURL, url)
72 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies) 72 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies)
73 IPC_STRUCT_MEMBER(GURL, frame_url) 73 IPC_STRUCT_MEMBER(GURL, frame_url)
74 IPC_STRUCT_MEMBER(bool, allow_credentials)
74 IPC_STRUCT_END() 75 IPC_STRUCT_END()
75 76
76 // Chrome for Android seek message sequence is: 77 // Chrome for Android seek message sequence is:
77 // 1. Renderer->Browser MediaPlayerHostMsg_Seek 78 // 1. Renderer->Browser MediaPlayerHostMsg_Seek
78 // This is the beginning of actual seek flow in response to web app requests 79 // This is the beginning of actual seek flow in response to web app requests
79 // for seeks and browser MediaPlayerMsg_SeekRequests. With this message, 80 // for seeks and browser MediaPlayerMsg_SeekRequests. With this message,
80 // the renderer asks browser to perform actual seek. At most one of these 81 // the renderer asks browser to perform actual seek. At most one of these
81 // actual seeks will be in process between this message and renderer's later 82 // actual seeks will be in process between this message and renderer's later
82 // receipt of MediaPlayerMsg_SeekCompleted from the browser. 83 // receipt of MediaPlayerMsg_SeekCompleted from the browser.
83 // 2. Browser->Renderer MediaPlayerMsg_SeekCompleted 84 // 2. Browser->Renderer MediaPlayerMsg_SeekCompleted
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 274
274 #if defined(VIDEO_HOLE) 275 #if defined(VIDEO_HOLE)
275 // Notify the player about the external surface, requesting it if necessary. 276 // Notify the player about the external surface, requesting it if necessary.
276 // |is_request| true if the player is requesting the external surface. 277 // |is_request| true if the player is requesting the external surface.
277 // |rect| the boundary rectangle of the video element. 278 // |rect| the boundary rectangle of the video element.
278 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, 279 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface,
279 int /* player_id */, 280 int /* player_id */,
280 bool /* is_request */, 281 bool /* is_request */,
281 gfx::RectF /* rect */) 282 gfx::RectF /* rect */)
282 #endif // defined(VIDEO_HOLE) 283 #endif // defined(VIDEO_HOLE)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698