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

Side by Side Diff: content/common/media/media_player_delegate_messages.h

Issue 2756553002: Force the video to go fullscreen when setting persistent video (Closed)
Patch Set: addressed nits Created 3 years, 9 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 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 // IPC messages for interactions between the WebMediaPlayerDelegate in the 5 // IPC messages for interactions between the WebMediaPlayerDelegate in the
6 // renderer process and MediaWebContentsObserver in the browser process. 6 // renderer process and MediaWebContentsObserver in the browser process.
7 // Multiply-included message file, hence no include guard. 7 // Multiply-included message file, hence no include guard.
8 8
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 16 matching lines...) Expand all
27 27
28 IPC_MESSAGE_ROUTED1(MediaPlayerDelegateMsg_Play, 28 IPC_MESSAGE_ROUTED1(MediaPlayerDelegateMsg_Play,
29 int /* delegate_id, distinguishes instances */) 29 int /* delegate_id, distinguishes instances */)
30 30
31 IPC_MESSAGE_ROUTED0(MediaPlayerDelegateMsg_SuspendAllMediaPlayers) 31 IPC_MESSAGE_ROUTED0(MediaPlayerDelegateMsg_SuspendAllMediaPlayers)
32 32
33 IPC_MESSAGE_ROUTED2(MediaPlayerDelegateMsg_UpdateVolumeMultiplier, 33 IPC_MESSAGE_ROUTED2(MediaPlayerDelegateMsg_UpdateVolumeMultiplier,
34 int /* delegate_id, distinguishes instances */, 34 int /* delegate_id, distinguishes instances */,
35 double /* multiplier */) 35 double /* multiplier */)
36 36
37 IPC_MESSAGE_ROUTED2(MediaPlayerDelegateMsg_BecamePersistentVideo,
38 int /* delegate_id, distinguishes instances */,
39 double /* is_persistent */)
40
37 // ---------------------------------------------------------------------------- 41 // ----------------------------------------------------------------------------
38 // Messages from the renderer notifying the browser of playback state changes. 42 // Messages from the renderer notifying the browser of playback state changes.
39 // ---------------------------------------------------------------------------- 43 // ----------------------------------------------------------------------------
40 44
41 IPC_MESSAGE_ROUTED1(MediaPlayerDelegateHostMsg_OnMediaDestroyed, 45 IPC_MESSAGE_ROUTED1(MediaPlayerDelegateHostMsg_OnMediaDestroyed,
42 int /* delegate_id, distinguishes instances */) 46 int /* delegate_id, distinguishes instances */)
43 47
44 IPC_MESSAGE_ROUTED2(MediaPlayerDelegateHostMsg_OnMediaPaused, 48 IPC_MESSAGE_ROUTED2(MediaPlayerDelegateHostMsg_OnMediaPaused,
45 int /* delegate_id, distinguishes instances */, 49 int /* delegate_id, distinguishes instances */,
46 bool /* reached end of stream */) 50 bool /* reached end of stream */)
47 51
48 IPC_MESSAGE_ROUTED5(MediaPlayerDelegateHostMsg_OnMediaPlaying, 52 IPC_MESSAGE_ROUTED5(MediaPlayerDelegateHostMsg_OnMediaPlaying,
49 int /* delegate_id, distinguishes instances */, 53 int /* delegate_id, distinguishes instances */,
50 bool /* has_video */, 54 bool /* has_video */,
51 bool /* has_audio */, 55 bool /* has_audio */,
52 bool /* is_remote */, 56 bool /* is_remote */,
53 media::MediaContentType /* media_content_type */) 57 media::MediaContentType /* media_content_type */)
54 58
55 IPC_MESSAGE_ROUTED2( 59 IPC_MESSAGE_ROUTED2(
56 MediaPlayerDelegateHostMsg_OnMediaEffectivelyFullscreenChange, 60 MediaPlayerDelegateHostMsg_OnMediaEffectivelyFullscreenChange,
57 int /* delegate_id */, 61 int /* delegate_id */,
58 bool /* is_fullscreen */) 62 bool /* is_fullscreen */)
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/renderer/media/renderer_webmediaplayer_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698