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

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

Issue 1147783002: swapContentViewCore is used by the Reader mode panel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/Tab.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/Tab.java b/chrome/android/java/src/org/chromium/chrome/browser/Tab.java
index 41e3958ac6adbfd52c9aec1759dcf639b05b086e..5c0a27498c92959bf3818fe01da9f6c141a17b6a 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/Tab.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/Tab.java
@@ -2199,7 +2199,7 @@ public class Tab implements ViewGroup.OnHierarchyChangeListener,
* @param didFinishLoad Whether WebContentsObserver::DidFinishLoad() has
* already been called.
*/
- protected void swapContentViewCore(ContentViewCore newContentViewCore,
+ public void swapContentViewCore(ContentViewCore newContentViewCore,
David Trainor- moved to gerrit 2015/05/19 17:37:23 For API cleanliness sake, should this return the o
Ted C 2015/05/19 17:52:06 swapWebContents does not return the old webcontent
aruslan 2015/05/19 18:36:51 Agreed, getWebContents() prior to calling this met
boolean deleteOldNativeWebContents, boolean didStartLoad, boolean didFinishLoad) {
int originalWidth = 0;
int originalHeight = 0;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698