Index: chrome/android/java/src/org/chromium/chrome/browser/Tab.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/Tab.java b/chrome/android/java/src/org/chromium/chrome/browser/Tab.java |
index c48ba357ee14a3315c78c1992b0d229fc44ec15d..e3ed411413853a25db515f60e4a46eaee40705e9 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/Tab.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/Tab.java |
@@ -31,10 +31,8 @@ import org.chromium.chrome.browser.toolbar.ToolbarModel; |
import org.chromium.content.browser.ContentView; |
import org.chromium.content.browser.ContentViewClient; |
import org.chromium.content.browser.ContentViewCore; |
-import org.chromium.content.browser.NavigationClient; |
import org.chromium.content.browser.WebContentsObserver; |
import org.chromium.content_public.browser.LoadUrlParams; |
-import org.chromium.content_public.browser.NavigationHistory; |
import org.chromium.content_public.browser.WebContents; |
import org.chromium.ui.base.Clipboard; |
import org.chromium.ui.base.WindowAndroid; |
@@ -72,7 +70,7 @@ import java.util.concurrent.atomic.AtomicInteger; |
* unless special care is taken to make sure {@link Tab#incrementIdCounterTo(int)} is called with |
* the correct value across all affected {@link Activity}s. |
*/ |
-public class Tab implements NavigationClient { |
+public class Tab { |
public static final int INVALID_TAB_ID = -1; |
/** Used for automatically generating tab ids. */ |
@@ -409,23 +407,6 @@ public class Tab implements NavigationClient { |
if (getWebContents() != null) getWebContents().getNavigationController().goForward(); |
} |
- @Override |
- public NavigationHistory getDirectedNavigationHistory(boolean isForward, int itemLimit) { |
- if (getWebContents() != null) { |
- return getWebContents().getNavigationController() |
- .getDirectedNavigationHistory(isForward, itemLimit); |
- } else { |
- return new NavigationHistory(); |
- } |
- } |
- |
- @Override |
- public void goToNavigationIndex(int index) { |
- if (getWebContents() != null) { |
- getWebContents().getNavigationController().goToNavigationIndex(index); |
- } |
- } |
- |
/** |
* Loads the current navigation if there is a pending lazy load (after tab restore). |
*/ |