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

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

Issue 406023002: Restructuring NavigationController functionalities from ContentViewCore to NavigationController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch with findbugs_known_bugs.txt changes. Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.content.browser; 5 package org.chromium.content.browser;
6 6
7 import org.chromium.content_public.browser.NavigationHistory;
8
7 /** 9 /**
8 * Provides functionality needed to query and page history and the ability to ac cess 10 * Provides functionality needed to query and page history and the ability to ac cess
9 * items in the history. 11 * items in the history.
10 */ 12 */
11 public interface NavigationClient { 13 public interface NavigationClient {
12 14
13 /** 15 /**
14 * Get a directed copy of the navigation history of the view. 16 * Get a directed copy of the navigation history of the view.
15 * @param isForward Whether the returned history should be entries after the current entry. 17 * @param isForward Whether the returned history should be entries after the current entry.
16 * @param itemLimit The limit on the number of items included in the history . 18 * @param itemLimit The limit on the number of items included in the history .
17 * @return A directed navigation for the page. 19 * @return A directed navigation for the page.
18 */ 20 */
19 public NavigationHistory getDirectedNavigationHistory(boolean isForward, int itemLimit); 21 public NavigationHistory getDirectedNavigationHistory(boolean isForward, int itemLimit);
20 22
21 /** 23 /**
22 * Navigates to the specified index in the navigation entry for this page. 24 * Navigates to the specified index in the navigation entry for this page.
23 * @param index The navigation index to navigate to. 25 * @param index The navigation index to navigate to.
24 */ 26 */
25 public void goToNavigationIndex(int index); 27 public void goToNavigationIndex(int index);
26 } 28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698