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

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

Issue 1159113006: [Android] A prototype of the interactive media notification. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added some null checks and hiding the notification when the tab is destroyed. Created 5 years, 6 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 1040a3b983972adcd31d20311e09eccab1259882..94bc3687844bae834f419860d12da63255164c55 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -362,6 +362,9 @@ class CONTENT_EXPORT WebContentsImpl
void GetManifest(const GetManifestCallback&) override;
void ExitFullscreen() override;
void ResumeLoadingCreatedWebContents() override;
+ void OnMediaSessionStateChanged() override;
+ void ResumeMediaSession() override;
+ void SuspendMediaSession() override;
#if defined(OS_ANDROID)
base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override;
virtual WebContentsAndroid* GetWebContentsAndroid();

Powered by Google App Engine
This is Rietveld 408576698