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

Unified Diff: chromecast/browser/cast_content_browser_client.cc

Issue 1123993002: Componentizes external_video_surface to reduce webview/Cast duplication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: java DEPS, round 2 Created 5 years, 7 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 | « chromecast/browser/android/external_video_surface_container_impl.cc ('k') | chromecast/chromecast.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_content_browser_client.cc
diff --git a/chromecast/browser/cast_content_browser_client.cc b/chromecast/browser/cast_content_browser_client.cc
index a6178e441cbdac8f16be2d3d58d8763806c8ed70..3e075faadf77dbae93e358d2f00eab9fa79544df 100644
--- a/chromecast/browser/cast_content_browser_client.cc
+++ b/chromecast/browser/cast_content_browser_client.cc
@@ -44,8 +44,8 @@
#include "ui/gl/gl_switches.h"
#if defined(OS_ANDROID)
-#include "chromecast/browser/android/external_video_surface_container_impl.h"
#include "components/crash/browser/crash_dump_manager_android.h"
+#include "components/external_video_surface/browser/android/external_video_surface_container_impl.h"
#endif // defined(OS_ANDROID)
namespace chromecast {
@@ -375,7 +375,8 @@ void CastContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
content::ExternalVideoSurfaceContainer*
CastContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
content::WebContents* web_contents) {
- return ExternalVideoSurfaceContainerImpl::Create(web_contents);
+ return external_video_surface::ExternalVideoSurfaceContainerImpl::Create(
+ web_contents);
}
#endif // defined(OS_ANDROID) && defined(VIDEO_HOLE)
« no previous file with comments | « chromecast/browser/android/external_video_surface_container_impl.cc ('k') | chromecast/chromecast.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698