| Index: content/shell/android/shell_view.cc
|
| diff --git a/content/shell/android/shell_view.cc b/content/shell/android/shell_view.cc
|
| deleted file mode 100644
|
| index 63f8fdcaa000158ca0ead6e35bb034418a95d1ac..0000000000000000000000000000000000000000
|
| --- a/content/shell/android/shell_view.cc
|
| +++ /dev/null
|
| @@ -1,35 +0,0 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "content/shell/android/shell_view.h"
|
| -
|
| -#include "base/android/jni_android.h"
|
| -#include "jni/shell_view_jni.h"
|
| -
|
| -namespace content {
|
| -
|
| -ShellView::ShellView(JNIEnv* env, jobject obj)
|
| - : weak_java_shell_view_(env, obj) {
|
| -}
|
| -
|
| -ShellView::~ShellView() {
|
| -}
|
| -
|
| -void ShellView::InitFromTabContents(WebContents* tab_contents) {
|
| - JNIEnv* env = base::android::AttachCurrentThread();
|
| - Java_ShellView_initFromNativeTabContents(
|
| - env, weak_java_shell_view_.get(env).obj(),
|
| - reinterpret_cast<jint>(tab_contents));
|
| -}
|
| -
|
| -// static
|
| -bool ShellView::Register(JNIEnv* env) {
|
| - return RegisterNativesImpl(env);
|
| -}
|
| -
|
| -static jint Init(JNIEnv* env, jobject obj) {
|
| - return reinterpret_cast<jint>(new ShellView(env, obj));
|
| -}
|
| -
|
| -} // namespace content
|
|
|