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

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

Issue 2292723003: Move remaining Blimp feature code to core. (Closed)
Patch Set: Fix build break Created 4 years, 4 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 | « cc/trees/layer_tree_host.cc ('k') | chrome/browser/android/blimp/blimp_client_context_factory.cc » ('j') | 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/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 6ae4ba3efe7603b59a09ba9506a3edcd8d77d2b9..73ec097c3c6ef119e117bed07fc18c874abed37d 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
@@ -1352,6 +1352,7 @@ public class Tab implements ViewGroup.OnHierarchyChangeListener,
assert !isFrozen();
if (mContentViewCore != null) mContentViewCore.onShow();
+ if (mBlimpContents != null) mBlimpContents.show();
if (mTabUma != null) {
mTabUma.onShow(type, getTimestampMillis(),
@@ -1391,6 +1392,7 @@ public class Tab implements ViewGroup.OnHierarchyChangeListener,
mIsHidden = true;
if (mContentViewCore != null) mContentViewCore.onHide();
+ if (mBlimpContents != null) mBlimpContents.hide();
// Clean up any fullscreen state that might impact other tabs.
if (mFullscreenManager != null) {
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | chrome/browser/android/blimp/blimp_client_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698