Chromecast: provides ExternalVideoSurfaceContainer for Android.
commit2f35020968e8015b15d5f22bc3fe540459d82d89
authorgunsch <gunsch@chromium.org>
Fri, 3 Oct 2014 06:30:37 +0000 (2 23:30 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 3 Oct 2014 06:30:55 +0000 (3 06:30 +0000)
treebcbc0fe194003d1a7a9686efbd8f9ce84ae6a03a
parent713c349e88f1c5f1eae081179a3b57e611f9036f
Chromecast: provides ExternalVideoSurfaceContainer for Android.

Since Chromecast on Android plays protected content and does so within
the bounds of the page (i.e. not launching the player full-screen over
the top of page content, as Clank does in this case), an
ExternalVideoSurfaceContainer is needed to provide a hardware-backed
video surface.

For the time being, the only implementation of this API has been
android_webview. This CL intends to use their existing code as a
starting point.

R=lcwu@chromium.org,byungchul@chromium.org,ycheo@chromium.org,qinmin@chromium.org
BUG=400876

Review URL: https://codereview.chromium.org/607793002

Cr-Commit-Position: refs/heads/master@{#298002}
chromecast/android/cast_jni_registrar.cc
chromecast/chromecast.gyp
chromecast/shell/android/apk/src/org/chromium/chromecast/shell/ExternalVideoSurfaceContainer.java [new file with mode: 0644]
chromecast/shell/browser/android/external_video_surface_container_impl.cc [new file with mode: 0644]
chromecast/shell/browser/android/external_video_surface_container_impl.h [new file with mode: 0644]
chromecast/shell/browser/cast_content_browser_client.cc
chromecast/shell/browser/cast_content_browser_client.h