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

Unified Diff: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModel.java

Issue 831523005: Remove most native WebContents references from Java (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Kept same error checking behavior for aw_contents.cc Created 5 years, 11 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/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModel.java
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModel.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModel.java
index bc6deeb48cfce949193df96b5742fa5b5abc87be..f6f7a38e0f8cfd466bff6469b19daf516fbc8a5b 100644
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModel.java
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModel.java
@@ -8,6 +8,7 @@ import org.chromium.chrome.browser.Tab;
import org.chromium.chrome.browser.tabmodel.TabModelBase;
import org.chromium.chrome.browser.tabmodel.TabModelDelegate;
import org.chromium.chrome.browser.tabmodel.TabModelOrderController;
+import org.chromium.content_public.browser.WebContents;
/**
* Basic implementation of TabModel for use in ChromeShell.
@@ -20,7 +21,7 @@ public class ChromeShellTabModel extends TabModelBase {
}
@Override
- protected Tab createTabWithNativeContents(boolean incognito, long nativeWebContents,
+ protected Tab createTabWithWebContents(boolean incognito, WebContents webContents,
int parentId) {
return null;
}

Powered by Google App Engine
This is Rietveld 408576698