summaryrefslogtreecommitdiffstats
path: root/content/shell/android/shell_manager.cc
diff options
context:
space:
mode:
authorjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-16 08:09:35 +0000
committerjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-16 08:09:35 +0000
commit061b2b31085552dd6aad065eb706b92804c5bf7a (patch)
treeb57baaa92b3c955b293302fdd5607d0133bb1c31 /content/shell/android/shell_manager.cc
parent878412f29e4b9fcff06fd9102174f9e473995b93 (diff)
downloadchromium_src-061b2b31085552dd6aad065eb706b92804c5bf7a.zip
chromium_src-061b2b31085552dd6aad065eb706b92804c5bf7a.tar.gz
chromium_src-061b2b31085552dd6aad065eb706b92804c5bf7a.tar.bz2
Making it easier to hook a ContentViewCore to the SurfaceView.
This CL changes the way we deal with WebLayers, so that a ContentViewCore does not need native code anymore to hook with the surface view. The ContentViewCore now keeps track of the WebLayers as they are attached/detached. The ContentViewRenderView is used to render a specific ContentView by retrieving the ContentViewCore WebLlayer and adding it to the compositor. BUG= TEST=ContentShell and ChromiumTestShell should still work. Review URL: https://chromiumcodereview.appspot.com/11293264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168166 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/android/shell_manager.cc')
-rw-r--r--content/shell/android/shell_manager.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/content/shell/android/shell_manager.cc b/content/shell/android/shell_manager.cc
index 79f7803d..4b161a6 100644
--- a/content/shell/android/shell_manager.cc
+++ b/content/shell/android/shell_manager.cc
@@ -35,12 +35,6 @@ namespace content {
jobject CreateShellView(Shell* shell) {
JNIEnv* env = base::android::AttachCurrentThread();
jobject j_shell_manager = g_global_state.Get().j_shell_manager.obj();
-
- ContentViewLayerRenderer* content_view_layer_renderer =
- reinterpret_cast<ContentViewLayerRenderer*>(
- Java_ShellManager_getContentViewLayerRenderer(env, j_shell_manager));
- shell->SetContentViewLayerRenderer(content_view_layer_renderer);
-
return Java_ShellManager_createShell(env, j_shell_manager).Release();
}