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

Unified Diff: chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.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
« no previous file with comments | « chrome/test/android/javatests/src/org/chromium/chrome/test/util/TabUtils.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java
diff --git a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java
index 2365a28468e2c3295d9e797143b2b0464d53e524..0788cb47876a37670bcd1d7c09daba4feb26ce98 100644
--- a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java
+++ b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java
@@ -11,9 +11,9 @@ import android.view.MenuItem;
import junit.framework.Assert;
-import org.chromium.chrome.browser.TabBase;
-import org.chromium.chrome.test.util.TabBaseTabUtils;
-import org.chromium.chrome.test.util.TabBaseTabUtils.TestCallbackHelperContainerForTab;
+import org.chromium.chrome.browser.Tab;
+import org.chromium.chrome.test.util.TabUtils;
+import org.chromium.chrome.test.util.TabUtils.TestCallbackHelperContainerForTab;
import org.chromium.content.browser.test.util.Criteria;
import org.chromium.content.browser.test.util.CriteriaHelper;
import org.chromium.content.browser.test.util.DOMUtils;
@@ -36,9 +36,9 @@ public class ContextMenuUtils {
* @throws TimeoutException
*/
public static ContextMenu openContextMenu(ActivityInstrumentationTestCase2 testCase,
- TabBase tab, TestCallbackHelperContainerForTab client, String openerDOMNodeId)
+ Tab tab, TestCallbackHelperContainerForTab client, String openerDOMNodeId)
throws InterruptedException, TimeoutException {
- if (client == null) client = TabBaseTabUtils.getTestCallbackHelperContainer(tab);
+ if (client == null) client = TabUtils.getTestCallbackHelperContainer(tab);
TestCallbackHelperContainerForTab.OnContextMenuShownHelper helper =
client.getOnContextMenuShownHelper();
@@ -62,7 +62,7 @@ public class ContextMenuUtils {
* @throws TimeoutException
*/
public static void selectContextMenuItem(ActivityInstrumentationTestCase2 testCase,
- TabBase tab, TestCallbackHelperContainerForTab client, String openerDOMNodeId,
+ Tab tab, TestCallbackHelperContainerForTab client, String openerDOMNodeId,
final int itemId) throws InterruptedException, TimeoutException {
ContextMenu menu = openContextMenu(testCase, tab, client, openerDOMNodeId);
Assert.assertNotNull("Failed to open context menu", menu);
@@ -82,7 +82,7 @@ public class ContextMenuUtils {
* @throws TimeoutException
*/
public static void selectContextMenuItemByTitle(ActivityInstrumentationTestCase2 testCase,
- TabBase tab, TestCallbackHelperContainerForTab client, String openerDOMNodeId,
+ Tab tab, TestCallbackHelperContainerForTab client, String openerDOMNodeId,
String itemTitle) throws InterruptedException, TimeoutException {
ContextMenu menu = openContextMenu(testCase, tab, client, openerDOMNodeId);
« no previous file with comments | « chrome/test/android/javatests/src/org/chromium/chrome/test/util/TabUtils.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698