Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(473)

Unified Diff: content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java

Issue 141533006: [Android] Move the java content/ package to content_public/ to start the split. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small fixes and findbugs line update Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
deleted file mode 100644
index 550333e09376360eee317f952fae17d840407fed..0000000000000000000000000000000000000000
--- a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2013 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.
-
-package org.chromium.content.browser.webcontents;
-
-import org.chromium.base.CalledByNative;
-import org.chromium.base.JNINamespace;
-import org.chromium.content.browser.NavigationController;
-import org.chromium.content.browser.WebContents;
-
-/**
- * The WebContentsImpl Java wrapper to allow communicating with the native WebContentsImpl
- * object.
- */
-@JNINamespace("content")
-//TODO(tedchoc): Remove the package restriction once this class moves to a non-public content
-// package whose visibility will be enforced via DEPS.
-/* package */ class WebContentsImpl implements WebContents {
-
- private long mNativeWebContentsAndroid;
- private NavigationController mNavigationController;
-
- private WebContentsImpl(
- long nativeWebContentsAndroid, NavigationController navigationController) {
- mNativeWebContentsAndroid = nativeWebContentsAndroid;
- mNavigationController = navigationController;
- }
-
- @CalledByNative
- private static WebContentsImpl create(
- long nativeWebContentsAndroid, NavigationController navigationController) {
- return new WebContentsImpl(nativeWebContentsAndroid, navigationController);
- }
-
- @CalledByNative
- private void destroy() {
- mNativeWebContentsAndroid = 0;
- mNavigationController = null;
- }
-
- @CalledByNative
- private long getNativePointer() {
- return mNativeWebContentsAndroid;
- }
-
- @Override
- public NavigationController getNavigationController() {
- return mNavigationController;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698