Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index 2b04a84c62e30233fca4bd95a103410102f11282..483c68697628bbe46de701f806cecd823327f7fc 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -416,6 +416,8 @@ class CONTENT_EXPORT WebContentsImpl |
void ResumeMediaSession() override; |
void SuspendMediaSession() override; |
void StopMediaSession() override; |
+ void DidReceiveMediaSessionAction( |
+ blink::mojom::MediaSessionAction action) override; |
void OnPasswordInputShownOnHttp() override; |
void OnCreditCardInputShownOnHttp() override; |
void SetIsOverlayContent(bool is_overlay_content) override; |
@@ -437,6 +439,13 @@ class CONTENT_EXPORT WebContentsImpl |
// This method is called when the MediaSession metadata has changed, and will |
// notify the WebContents observers. |
void OnMediaSessionMetadataChanged(); |
+ // This method is called when the MediaSession has enabled an action, and will |
+ // notify the WebContentsObservers. |
+ void OnMediaSessionEnabledAction(blink::mojom::MediaSessionAction action); |
+ // This method is called when the MediaSession has disabled an action, and |
+ // will |
+ // notify the WebContentsObservers. |
+ void OnMediaSessionDisabledAction(blink::mojom::MediaSessionAction action); |
// Implementation of PageNavigator. |
WebContents* OpenURL(const OpenURLParams& params) override; |