diff options
author | ycheo@chromium.org <ycheo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-15 16:28:36 +0000 |
---|---|---|
committer | ycheo@chromium.org <ycheo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-15 16:28:36 +0000 |
commit | 11572b42fca34a16a15282c2669e47b305fa02e0 (patch) | |
tree | 6f8bb5abd2ff54b543ba53f1a2bb4a9b0d7c18dc /android_webview/browser/jni_dependency_factory.h | |
parent | 2f2999241aec0969ec7e05db9d06b87f32a7e806 (diff) | |
download | chromium_src-11572b42fca34a16a15282c2669e47b305fa02e0.zip chromium_src-11572b42fca34a16a15282c2669e47b305fa02e0.tar.gz chromium_src-11572b42fca34a16a15282c2669e47b305fa02e0.tar.bz2 |
Move ExternalVideoSurfaceHolder from WebContents UserData to BrowserMediaPlayerManager.
Static functions in ExternalVideoSurfaceContainer hinder from building and linking
'content' by itself. So I moved the creation of ExternalVideoSurfaceContainer into
ContentBrowserClient and its storage into BrowserMediaPlayerManager.
Review URL: https://codereview.chromium.org/231933006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263868 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/browser/jni_dependency_factory.h')
-rw-r--r-- | android_webview/browser/jni_dependency_factory.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/android_webview/browser/jni_dependency_factory.h b/android_webview/browser/jni_dependency_factory.h index b396ad0..d0b6f72 100644 --- a/android_webview/browser/jni_dependency_factory.h +++ b/android_webview/browser/jni_dependency_factory.h @@ -8,6 +8,7 @@ #include "base/memory/ref_counted.h" namespace content { +class ExternalVideoSurfaceContainer; class GeolocationPermissionContext; class WebContents; class WebContentsViewDelegate; @@ -31,6 +32,10 @@ class JniDependencyFactory { virtual content::WebContentsViewDelegate* CreateViewDelegate( content::WebContents* web_contents) = 0; virtual AwWebPreferencesPopulater* CreateWebPreferencesPopulater() = 0; +#if defined(VIDEO_HOLE) + virtual content::ExternalVideoSurfaceContainer* + CreateExternalVideoSurfaceContainer(content::WebContents* contents) = 0; +#endif }; } // namespace android_webview |