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

Unified Diff: content/browser/media/media_web_contents_observer.h

Issue 493253002: [Android] Stop all media on undoable close. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/media/media_web_contents_observer.h
diff --git a/content/browser/media/media_web_contents_observer.h b/content/browser/media/media_web_contents_observer.h
index 8ed89932057a0f8dc11ba5f8cdcc76582d5bb3e9..1aba106e6993e100fd7ced60ac34934ca3c69121 100644
--- a/content/browser/media/media_web_contents_observer.h
+++ b/content/browser/media/media_web_contents_observer.h
@@ -58,6 +58,7 @@ class CONTENT_EXPORT MediaWebContentsObserver : public WebContentsObserver {
// Pauses all media player.
void PauseVideo();
+ void ReleaseAllMediaPlayers(RenderFrameHost* render_frame_host);
qinmin 2014/08/22 21:49:32 I think you don't need this call. you can just cal
David Trainor- moved to gerrit 2014/08/25 18:11:43 Done.
#if defined(VIDEO_HOLE)
void OnFrameInfoUpdated();

Powered by Google App Engine
This is Rietveld 408576698