| Index: content/shell/android/java/src/org/chromium/content_shell/ShellManager.java
|
| diff --git a/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java b/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java
|
| index a15cae7d229188505f6ab146a14d89661f319572..cfddd40862ba0ca82eaaeb47354c160212c5b38a 100644
|
| --- a/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java
|
| +++ b/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java
|
| @@ -12,6 +12,7 @@ import android.widget.FrameLayout;
|
| import org.chromium.base.ThreadUtils;
|
| import org.chromium.base.annotations.CalledByNative;
|
| import org.chromium.base.annotations.JNINamespace;
|
| +import org.chromium.content.browser.ContentViewClient;
|
| import org.chromium.content.browser.ContentViewCore;
|
| import org.chromium.content.browser.ContentViewRenderView;
|
| import org.chromium.ui.base.WindowAndroid;
|
| @@ -30,6 +31,7 @@ public class ShellManager extends FrameLayout {
|
|
|
| // The target for all content rendering.
|
| private ContentViewRenderView mContentViewRenderView;
|
| + private final ContentViewClient mContentViewClient = new ContentViewClient();
|
|
|
| /**
|
| * Constructor for inflating via XML.
|
| @@ -104,7 +106,7 @@ public class ShellManager extends FrameLayout {
|
| LayoutInflater inflater =
|
| (LayoutInflater) getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
| Shell shellView = (Shell) inflater.inflate(R.layout.shell_view, null);
|
| - shellView.initialize(nativeShellPtr, mWindow);
|
| + shellView.initialize(nativeShellPtr, mWindow, mContentViewClient);
|
|
|
| // TODO(tedchoc): Allow switching back to these inactive shells.
|
| if (mActiveShell != null) removeShell(mActiveShell);
|
|
|