| Index: content/public/browser/web_contents.h
|
| diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
|
| index ab0fe6df66aa4ccdd768fadbc80f9ab85b6bcb0a..d38b61aab3c326227544d2d01690608848b329c7 100644
|
| --- a/content/public/browser/web_contents.h
|
| +++ b/content/public/browser/web_contents.h
|
| @@ -561,7 +561,7 @@ class WebContents : public PageNavigator,
|
| virtual void ViewSource() = 0;
|
|
|
| virtual void ViewFrameSource(const GURL& url,
|
| - const PageState& page_state)= 0;
|
| + const PageState& page_state) = 0;
|
|
|
| // Gets the minimum/maximum zoom percent.
|
| virtual int GetMinimumZoomPercent() const = 0;
|
| @@ -660,6 +660,13 @@ class WebContents : public PageNavigator,
|
| // as soon as they are ready.
|
| virtual void ResumeLoadingCreatedWebContents() = 0;
|
|
|
| + // Called when MediaSession changes any of its state.
|
| + virtual void OnMediaSessionStateChanged() = 0;
|
| + // Requests to resume the current media session.
|
| + virtual void ResumeMediaSession() = 0;
|
| + // Requests to suspend the current media session.
|
| + virtual void SuspendMediaSession() = 0;
|
| +
|
| #if defined(OS_ANDROID)
|
| CONTENT_EXPORT static WebContents* FromJavaWebContents(
|
| jobject jweb_contents_android);
|
|
|