Chromium Code Reviews| 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..a4e173fb86e7b0fbba0d86f0735576ae9bda9cbf 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; |
| @@ -661,6 +661,13 @@ class WebContents : public PageNavigator, |
| virtual void ResumeLoadingCreatedWebContents() = 0; |
| #if defined(OS_ANDROID) |
| + // Called when MediaSession changes any of its state. |
| + virtual void OnMediaSessionStateChanged() = 0; |
|
jochen (gone - plz use gerrit)
2015/07/08 15:35:57
this shouldn't be on the API
|
| + // Requests to resume the current media session. |
| + virtual void ResumeMediaSession() = 0; |
| + // Requests to suspend the current media session. |
| + virtual void SuspendMediaSession() = 0; |
| + |
| CONTENT_EXPORT static WebContents* FromJavaWebContents( |
| jobject jweb_contents_android); |
| virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() = 0; |