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

Unified Diff: content/public/browser/content_browser_client.h

Issue 231933006: Move ExternalVideoSurfaceHolder from WebContents UserData to BrowserMediaPlayerManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed changes on adding the prefix 'Override'. Created 6 years, 8 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/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 01c2eb93e039131faa11d35a60ab5688134bb724..1df014f7b6b2a2065d35735d0a5f45e9b9b88955 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -87,6 +87,7 @@ class BrowserMainParts;
class BrowserPluginGuestDelegate;
class BrowserPpapiHost;
class BrowserURLHandler;
+class ExternalVideoSurfaceContainer;
class LocationProvider;
class MediaObserver;
class QuotaPermissionContext;
@@ -645,6 +646,13 @@ class CONTENT_EXPORT ContentBrowserClient {
// This is called on the IO thread.
virtual net::CookieStore* OverrideCookieStoreForRenderProcess(
int render_process_id_);
+
+#if defined(VIDEO_HOLE)
+ // Allows an embedder to provide its own ExternalVideoSurfaceContainer
+ // implementation. Return NULL to disable external surface video.
+ virtual ExternalVideoSurfaceContainer*
+ OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
+#endif
};
} // namespace content
« no previous file with comments | « content/public/browser/android/external_video_surface_container.h ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698