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

Unified Diff: content/browser/renderer_host/media/audio_renderer_host.h

Issue 9316077: Enable audio/video tag in content_shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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/renderer_host/media/audio_renderer_host.h
diff --git a/content/browser/renderer_host/media/audio_renderer_host.h b/content/browser/renderer_host/media/audio_renderer_host.h
index 16e2d02120c78840612ffbb016f9a20f4c707618..513fc0d88f46734fb22e0cfb3b438e116a708ebe 100644
--- a/content/browser/renderer_host/media/audio_renderer_host.h
+++ b/content/browser/renderer_host/media/audio_renderer_host.h
@@ -209,6 +209,12 @@ class CONTENT_EXPORT AudioRendererHost
// event is received.
AudioEntry* LookupByController(media::AudioOutputController* controller);
+ // Notifies |media_observer_| about various audio stream events.
+ void OnSetAudioStreamPlaying(int stream_id, bool playing);
+ void OnSetAudioStreamStatus(int stream_id, const std::string& status);
+ void OnSetAudioStreamVolume(int stream_id, double volume);
+ void OnDeleteAudioStream(int stream_id);
+
// Return resource_context_->media_observer() or a cached copy thereof.
// This is necessary because resource_context_ can be destructed before all
// AudioEntries have been deleted. The MediaObserver's lifetime is tied to

Powered by Google App Engine
This is Rietveld 408576698