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

Unified Diff: android_webview/browser/jni_dependency_factory.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
« no previous file with comments | « android_webview/browser/aw_content_browser_client.cc ('k') | android_webview/lib/main/aw_main_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/jni_dependency_factory.h
diff --git a/android_webview/browser/jni_dependency_factory.h b/android_webview/browser/jni_dependency_factory.h
index b396ad058d7a23f3f28d7e469b9a37a1838968f3..d0b6f72a6c204d105fe1b8222030c7ca0bea2283 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
« no previous file with comments | « android_webview/browser/aw_content_browser_client.cc ('k') | android_webview/lib/main/aw_main_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698