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

Unified Diff: content/common/frame_messages.h

Issue 644463003: [Cast, Android] Don't hold the wake lock if the video is playing remotely. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ignore remote players altogether Created 6 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 side-by-side diff with in-line comments
Download patch
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index fa3159ae2606a400f67140a1f8a52f3c9391f335..cb8a37e391fd3b4a9d19f9206964fbf3afb9cb2f 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -710,10 +710,11 @@ IPC_MESSAGE_ROUTED2(FrameHostMsg_SetSelectedColorInColorChooser,
SkColor /* color */)
// Notifies the browser that media has started/stopped playing.
-IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification,
+IPC_MESSAGE_ROUTED4(FrameHostMsg_MediaPlayingNotification,
int64 /* player_cookie, distinguishes instances */,
bool /* has_video */,
- bool /* has_audio */)
+ bool /* has_audio */,
+ bool /* is_remote */)
IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification,
int64 /* player_cookie, distinguishes instances */)
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/renderer/media/android/webmediaplayer_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698