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

Unified Diff: android_webview/lib/main/aw_main_delegate.h

Issue 231933006: Move ExternalVideoSurfaceHolder from WebContents UserData to BrowserMediaPlayerManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: android_webview/lib/main/aw_main_delegate.h
diff --git a/android_webview/lib/main/aw_main_delegate.h b/android_webview/lib/main/aw_main_delegate.h
index 2d07be44935020458a1cee4487e1e986a673e36d..93a116c2d7e10868ff7c187ea2b4de29dd8d04e0 100644
--- a/android_webview/lib/main/aw_main_delegate.h
+++ b/android_webview/lib/main/aw_main_delegate.h
@@ -13,6 +13,7 @@
namespace content {
class BrowserMainRunner;
+class ExternalVideoSurfaceContainel;
}
namespace android_webview {
@@ -49,6 +50,11 @@ class AwMainDelegate : public content::ContentMainDelegate,
virtual content::WebContentsViewDelegate* CreateViewDelegate(
content::WebContents* web_contents) OVERRIDE;
virtual AwWebPreferencesPopulater* CreateWebPreferencesPopulater() OVERRIDE;
+#if defined(VIDEO_HOLE)
+ virtual content::ExternalVideoSurfaceContainer*
+ CreateExternalVideoSurfaceContainer(
+ content::WebContents* web_contents) OVERRIDE;
+#endif
scoped_ptr<content::BrowserMainRunner> browser_runner_;
AwContentClient content_client_;

Powered by Google App Engine
This is Rietveld 408576698