| Index: chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java
|
| diff --git a/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java b/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java
|
| index 1769e37d7d2d11e4e08528366a2ebe40eb6ed1f5..f58bd117676858ed3b4b1f20e39b277fb73d80df 100644
|
| --- a/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java
|
| +++ b/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowAndroid.java
|
| @@ -17,6 +17,7 @@ import android.widget.LinearLayout;
|
|
|
| import org.chromium.base.annotations.CalledByNative;
|
| import org.chromium.base.annotations.JNINamespace;
|
| +import org.chromium.content.browser.ContentVideoViewEmbedder;
|
| import org.chromium.content.browser.ContentView;
|
| import org.chromium.content.browser.ContentViewCore;
|
| import org.chromium.content.browser.ContentViewRenderView;
|
| @@ -40,6 +41,7 @@ public class CastWindowAndroid extends LinearLayout {
|
|
|
| private ContentViewCore mContentViewCore;
|
| private ContentViewRenderView mContentViewRenderView;
|
| + private ContentVideoViewEmbedder mContentVideoViewEmbedder;
|
| private NavigationController mNavigationController;
|
| private int mRenderProcessId;
|
| private WebContents mWebContents;
|
| @@ -156,6 +158,15 @@ public class CastWindowAndroid extends LinearLayout {
|
| };
|
| }
|
|
|
| + public void setContentVideoViewEmbedder(ContentVideoViewEmbedder embedder) {
|
| + mContentVideoViewEmbedder = embedder;
|
| + }
|
| +
|
| + @CalledByNative
|
| + public ContentVideoViewEmbedder getContentVideoViewEmbedder() {
|
| + return mContentVideoViewEmbedder;
|
| + }
|
| +
|
| /**
|
| * @return The {@link ViewGroup} currently shown by this Shell.
|
| */
|
|
|