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

Unified Diff: chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/tabmodel/document/MockTabDelegate.java

Issue 1174263006: [Document mode] Force more pathways to use the TabDelegate instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Null guarding Created 5 years, 6 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/android/java_staging/src/org/chromium/chrome/browser/document/TabDelegateImpl.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/tabmodel/document/MockTabDelegate.java
diff --git a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/tabmodel/document/MockTabDelegate.java b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/tabmodel/document/MockTabDelegate.java
index c9a8b19668042926f758f9a944f4a3c6f8e3cfa4..23f5d480bc7f617cf25b6dacbdb2284972a17844 100644
--- a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/tabmodel/document/MockTabDelegate.java
+++ b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/tabmodel/document/MockTabDelegate.java
@@ -39,9 +39,8 @@ public class MockTabDelegate implements TabDelegate {
}
@Override
- public Tab createTabWithWebContents(
+ public void createTabWithWebContents(
WebContents webContents, int parentId, TabLaunchType type, int startedBy) {
- return null;
}
@Override
@@ -53,4 +52,9 @@ public class MockTabDelegate implements TabDelegate {
public Tab launchNTP() {
return null;
}
+
+ @Override
+ public void createNewDocumentTab(LoadUrlParams loadUrlParams, TabLaunchType type, Tab parent,
+ int documentLaunchMode, int documentStartedBy, Integer requestId) {
+ }
}
« no previous file with comments | « chrome/android/java_staging/src/org/chromium/chrome/browser/document/TabDelegateImpl.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698