Index: content/public/browser/web_contents.h |
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
index b2eaf32ca3591147d42a067bc6722d402f00fb66..7cf3ac7d32bc068e25bd6099e5a6d3a85b5a6985 100644 |
--- a/content/public/browser/web_contents.h |
+++ b/content/public/browser/web_contents.h |
@@ -48,6 +48,7 @@ namespace content { |
class BrowserContext; |
class BrowserPluginGuestDelegate; |
class InterstitialPage; |
+class MediaControlsDelegate; |
class PageState; |
class RenderFrameHost; |
class RenderProcessHost; |
@@ -658,6 +659,10 @@ class WebContents : public PageNavigator, |
CONTENT_EXPORT static WebContents* FromJavaWebContents( |
jobject jweb_contents_android); |
virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() = 0; |
+ |
+ // Returns the delegate for the media controls (e.g. lock screen or |
+ // notification). |
+ virtual MediaControlsDelegate* GetMediaControlsDelegate() = 0; |
#elif defined(OS_MACOSX) |
// Allowing other views disables optimizations which assume that only a single |
// WebContents is present. |