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

Unified Diff: chromecast/renderer/cast_content_renderer_client.cc

Issue 1292433002: Defer media playback in background tabs. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chromecast/renderer/cast_content_renderer_client.cc
diff --git a/chromecast/renderer/cast_content_renderer_client.cc b/chromecast/renderer/cast_content_renderer_client.cc
index 1f7c4a68d1963492e191814368adeaa8ad887b65..daebd98cc327758624f872f1b54e17e5a9b7fba2 100644
--- a/chromecast/renderer/cast_content_renderer_client.cc
+++ b/chromecast/renderer/cast_content_renderer_client.cc
@@ -210,6 +210,7 @@ CastContentRendererClient::GetPrescientNetworking() {
void CastContentRendererClient::DeferMediaLoad(
content::RenderFrame* render_frame,
+ bool render_frame_has_played_media_before,
const base::Closure& closure) {
if (!render_frame->IsHidden()) {
closure.Run();
« no previous file with comments | « chromecast/renderer/cast_content_renderer_client.h ('k') | content/public/renderer/content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698