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

Unified Diff: chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java

Issue 148523013: [Android] Rename TabBase to Tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2014_01_22_tabbase
Patch Set: sync Created 6 years, 10 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: chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java
diff --git a/chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java b/chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java
index ff0329d410c2d68ff2a7762f5528ae2453ea21bf..5daeafc1edbdfa653b90065bedaedb1b89991a27 100644
--- a/chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java
+++ b/chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java
@@ -7,7 +7,7 @@ package org.chromium.chrome.testshell;
import android.content.Context;
import android.text.TextUtils;
-import org.chromium.chrome.browser.TabBase;
+import org.chromium.chrome.browser.Tab;
import org.chromium.chrome.browser.UrlUtilities;
import org.chromium.chrome.browser.contextmenu.ChromeContextMenuPopulator;
import org.chromium.chrome.browser.contextmenu.ContextMenuPopulator;
@@ -19,9 +19,9 @@ import org.chromium.ui.base.WindowAndroid;
/**
* TestShell's implementation of a tab. This mirrors how Chrome for Android subclasses
- * and extends {@link TabBase}.
+ * and extends {@link Tab}.
*/
-public class TestShellTab extends TabBase {
+public class TestShellTab extends Tab {
// Tab state
private boolean mIsLoading;
@@ -82,8 +82,8 @@ public class TestShellTab extends TabBase {
}
@Override
- protected TabBaseChromeWebContentsDelegateAndroid createWebContentsDelegate() {
- return new TestShellTabBaseChromeWebContentsDelegateAndroid();
+ protected TabChromeWebContentsDelegateAndroid createWebContentsDelegate() {
+ return new TestShellTabChromeWebContentsDelegateAndroid();
}
@Override
@@ -100,7 +100,7 @@ public class TestShellTab extends TabBase {
@Override
protected ContextMenuPopulator createContextMenuPopulator() {
- return new ChromeContextMenuPopulator(new TabBaseChromeContextMenuItemDelegate() {
+ return new ChromeContextMenuPopulator(new TabChromeContextMenuItemDelegate() {
@Override
public void onOpenImageUrl(String url) {
loadUrlWithSanitization(url);
@@ -108,8 +108,8 @@ public class TestShellTab extends TabBase {
});
}
- private class TestShellTabBaseChromeWebContentsDelegateAndroid
- extends TabBaseChromeWebContentsDelegateAndroid {
+ private class TestShellTabChromeWebContentsDelegateAndroid
+ extends TabChromeWebContentsDelegateAndroid {
@Override
public void onLoadStarted() {
mIsLoading = true;

Powered by Google App Engine
This is Rietveld 408576698