Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index f2401940df8e6b487475b1c811c863ede7eca6e5..2f1cbdd4ddbd9d503a737978f70a5bf3dec1c6bd 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -61,6 +61,7 @@ |
#pragma warning(disable: 4250) |
#endif |
+class AudioDeviceFactoryInterface; |
class CommandLine; |
class DeviceOrientationDispatcher; |
class DevToolsAgent; |
@@ -228,6 +229,10 @@ class RenderViewImpl : public RenderWidget, |
int history_list_offset() const { return history_list_offset_; } |
+ AudioDeviceFactoryInterface* audio_device_factory() const { |
+ return audio_device_factory_.get(); |
+ } |
+ |
const webkit_glue::WebPreferences& webkit_preferences() const { |
return webkit_preferences_; |
} |
@@ -1332,6 +1337,10 @@ class RenderViewImpl : public RenderWidget, |
// Misc ---------------------------------------------------------------------- |
+ // Allows users to create media::AudioRendererSink objects with different |
+ // implementations. |
+ scoped_ptr<AudioDeviceFactoryInterface> audio_device_factory_; |
+ |
// The current and pending file chooser completion objects. If the queue is |
// nonempty, the first item represents the currently running file chooser |
// callback, and the remaining elements are the other file chooser completion |