| Index: content/browser/media/session/media_session_impl.h
|
| diff --git a/content/browser/media/session/media_session_impl.h b/content/browser/media/session/media_session_impl.h
|
| index 1f1a0fc85d172fd45655d48251e7ee86ac05bae3..bc253442f941d8732650554cde9b434aa373e57e 100644
|
| --- a/content/browser/media/session/media_session_impl.h
|
| +++ b/content/browser/media/session/media_session_impl.h
|
| @@ -127,6 +127,14 @@ class MediaSessionImpl : public MediaSession,
|
| // Received a media session action and forward to blink::MediaSession.
|
| void DidReceiveAction(blink::mojom::MediaSessionAction action) override;
|
|
|
| + // Let the media session start ducking such that the volume multiplier is
|
| + // reduced.
|
| + CONTENT_EXPORT void StartDucking() override;
|
| +
|
| + // Let the media session stop ducking such that the volume multiplier is
|
| + // recovered.
|
| + CONTENT_EXPORT void StopDucking() override;
|
| +
|
| // Called when an action is enabled in blink::MediaSession. This method will
|
| // notify the observers that the action is enabled.
|
| void OnMediaSessionEnabledAction(blink::mojom::MediaSessionAction action);
|
| @@ -135,14 +143,6 @@ class MediaSessionImpl : public MediaSession,
|
| // notify the observers that the action is disabled.
|
| void OnMediaSessionDisabledAction(blink::mojom::MediaSessionAction action);
|
|
|
| - // Let the media session start ducking such that the volume multiplier is
|
| - // reduced.
|
| - CONTENT_EXPORT void StartDucking();
|
| -
|
| - // Let the media session stop ducking such that the volume multiplier is
|
| - // recovered.
|
| - CONTENT_EXPORT void StopDucking();
|
| -
|
| // Returns if the session can be controlled by Resume() and Suspend calls
|
| // above.
|
| CONTENT_EXPORT bool IsControllable() const;
|
|
|