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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/NavigationController.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/NavigationController.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/NavigationController.java b/content/public/android/java/src/org/chromium/content/browser/NavigationController.java
deleted file mode 100644
index d07845cfa69fced0d3ba3cb0707b810ba7424cd3..0000000000000000000000000000000000000000
--- a/content/public/android/java/src/org/chromium/content/browser/NavigationController.java
+++ /dev/null
@@ -1,50 +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;
-
-/**
- * The NavigationController Java wrapper to allow communicating with the native
- * NavigationController object.
- */
-public interface NavigationController {
- /**
- * @return Whether back navigation is possible from the "current entry".
- */
- boolean canGoBack();
-
- /**
- * @return Whether forward navigation is possible from the "current entry".
- */
- boolean canGoForward();
-
- /**
- * @param offset The offset into the navigation history.
- * @return Whether we can move in history by given offset
- */
- boolean canGoToOffset(int offset);
-
- /**
- * Navigates to the specified offset from the "current entry". Does nothing if the offset is
- * out of bounds.
- * @param offset The offset into the navigation history.
- */
- void goToOffset(int offset);
-
- /**
- * Navigates to the specified index in the navigation entry for this page.
- * @param index The navigation index to navigate to.
- */
- void goToNavigationIndex(int index);
-
- /**
- * Goes to the navigation entry before the current one.
- */
- void goBack();
-
- /**
- * Goes to the navigation entry following the current one.
- */
- void goForward();
-}

Powered by Google App Engine
This is Rietveld 408576698