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

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

Issue 11743011: Add history popup when long pressing on the back key. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use a padding drawable for null favicons to avoid jumping UI. Created 7 years, 12 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/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
new file mode 100644
index 0000000000000000000000000000000000000000..505d48ec54e9f11919b7d86f519a311efafa06ec
--- /dev/null
+++ b/content/public/android/java/src/org/chromium/content/browser/NavigationClient.java
@@ -0,0 +1,26 @@
+// Copyright (c) 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;
+
+/**
+ * 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);
+}

Powered by Google App Engine
This is Rietveld 408576698