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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/java/src/org/chromium/chrome/browser/tab/Tab.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java b/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
index d5fd63346e1597589cc0e89bbf605b967abd85b5..5ddeaa8f5f68a82fd082d558f5ba6da6d4f3068e 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
@@ -2246,19 +2246,6 @@ public class Tab implements ViewGroup.OnHierarchyChangeListener,
return mNativeTabAndroid;
}
- /** This is currently called when committing a pre-rendered page. */
- @VisibleForTesting
- @CalledByNative
- public void swapWebContents(
- WebContents webContents, boolean didStartLoad, boolean didFinishLoad) {
- ContentViewCore cvc = new ContentViewCore(mContext);
- ContentView cv = new ContentView(mContext, cvc);
- cv.setContentDescription(mContext.getResources().getString(
- R.string.accessibility_content_view));
- cvc.initialize(cv, cv, webContents, getWindowAndroid());
- swapContentViewCore(cvc, false, didStartLoad, didFinishLoad);
- }
-
/**
* Called to swap out the current view with the one passed in.
*

Powered by Google App Engine
This is Rietveld 408576698