Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 2411723002: Split MediaSessionStateChanged() and MediaSessionMetadataChanged() (Closed)
Patch Set: rebased Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 68278ee11eeb574c1ead18f36b2f065fc21daf93..e57408e5957da0e7f89969da009f5ba8c26c6600 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -414,7 +414,6 @@ class CONTENT_EXPORT WebContentsImpl
void GetManifest(const GetManifestCallback& callback) override;
void ExitFullscreen(bool will_cause_resize) override;
void ResumeLoadingCreatedWebContents() override;
- void OnMediaSessionStateChanged();
void ResumeMediaSession() override;
void SuspendMediaSession() override;
void StopMediaSession() override;
@@ -432,6 +431,13 @@ class CONTENT_EXPORT WebContentsImpl
bool GetAllowOtherViews() override;
#endif
+ // This method is called when the MediaSession state has changed, and will
+ // notify the WebContents observers.
+ void OnMediaSessionStateChanged();
+ // This method is called when the MediaSession metadata has changed, and will
+ // notify the WebContents observers.
+ void OnMediaSessionMetadataChanged();
+
// Implementation of PageNavigator.
WebContents* OpenURL(const OpenURLParams& params) override;
« no previous file with comments | « content/browser/media/session/media_session_browsertest.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698