| Index: content/renderer/render_frame_impl.h
|
| diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
|
| index a53eb87dff53353147551ce2de8c67df43d5f13f..e16b9235f32d39b4bde409c462325909cfd8b4d4 100644
|
| --- a/content/renderer/render_frame_impl.h
|
| +++ b/content/renderer/render_frame_impl.h
|
| @@ -134,6 +134,7 @@ class NotificationPermissionDispatcher;
|
| class PageState;
|
| class PepperPluginInstanceImpl;
|
| class PermissionDispatcher;
|
| +class PPB_Audio_Impl;
|
| class PresentationDispatcher;
|
| class PushMessagingDispatcher;
|
| class RendererAccessibility;
|
| @@ -677,6 +678,12 @@ class CONTENT_EXPORT RenderFrameImpl
|
|
|
| // Notification that the given plugin is focused or unfocused.
|
| void PepperFocusChanged(PepperPluginInstanceImpl* instance, bool focused);
|
| +
|
| + void PepperStartsPlayback(PepperPluginInstanceImpl* instance,
|
| + PPB_Audio_Impl* audio_instance);
|
| + void PepperStopsPlayback(PepperPluginInstanceImpl* instance,
|
| + PPB_Audio_Impl* audio_instance);
|
| + void OnSetPepperVolume(int32_t pp_instance, double volume);
|
| #endif // ENABLE_PLUGINS
|
|
|
| protected:
|
| @@ -1272,6 +1279,8 @@ class CONTENT_EXPORT RenderFrameImpl
|
| // |pepper_last_mouse_event_target_| is not owned by this class. We depend on
|
| // the RenderFrameImpl to NULL it out when it destructs.
|
| PepperPluginInstanceImpl* pepper_last_mouse_event_target_;
|
| +
|
| + std::map<int32_t, std::set<PPB_Audio_Impl*>> pepper_audios_map_;
|
| #endif
|
|
|
| base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
|
|
|