| Index: content/renderer/render_frame_impl.h
|
| diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
|
| index b70731504eaf840dd62172749dc084652b0fdf93..7a1d4c1fb9bbcc335d74218e00efc595735f2eb4 100644
|
| --- a/content/renderer/render_frame_impl.h
|
| +++ b/content/renderer/render_frame_impl.h
|
| @@ -136,6 +136,7 @@ class NotificationPermissionDispatcher;
|
| class PageState;
|
| class PepperPluginInstanceImpl;
|
| class PermissionDispatcher;
|
| +class PPB_Audio_Impl;
|
| class PresentationDispatcher;
|
| class PushMessagingDispatcher;
|
| class RendererAccessibility;
|
| @@ -683,6 +684,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:
|
| @@ -1281,6 +1288,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
|
|
|
| mojo::Binding<mojom::Frame> frame_binding_;
|
|
|