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

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

Issue 666673009: Removing NavigationClient dependencies from Tab. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the review comments. Created 6 years, 2 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
« no previous file with comments | « chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/browser/NavigationClient.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/NavigationClient.java b/content/public/android/java/src/org/chromium/content/browser/NavigationClient.java
deleted file mode 100644
index 433ec0b976c60f1962f0af7e70999135b93497ac..0000000000000000000000000000000000000000
--- a/content/public/android/java/src/org/chromium/content/browser/NavigationClient.java
+++ /dev/null
@@ -1,28 +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;
-
-import org.chromium.content_public.browser.NavigationHistory;
-
-/**
- * Provides functionality needed to query and page history and the ability to access
- * items in the history.
- */
-public interface NavigationClient {
-
- /**
- * Get a directed copy of the navigation history of the view.
- * @param isForward Whether the returned history should be entries after the current entry.
- * @param itemLimit The limit on the number of items included in the history.
- * @return A directed navigation for the page.
- */
- public NavigationHistory getDirectedNavigationHistory(boolean isForward, int itemLimit);
-
- /**
- * Navigates to the specified index in the navigation entry for this page.
- * @param index The navigation index to navigate to.
- */
- public void goToNavigationIndex(int index);
-}
« no previous file with comments | « chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698