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

Unified Diff: chrome/browser/android/compositor/tab_content_manager.h

Issue 1371523003: Android: Don't destroy LayerTreeHost when Surface goes away (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/browser/android/compositor/tab_content_manager.h
diff --git a/chrome/browser/android/compositor/tab_content_manager.h b/chrome/browser/android/compositor/tab_content_manager.h
index 78dec23cb5956fe3b4ba12fb2b20400151ec23cb..40465bb81a7aa5972cb207f25ef291549a7f8c48 100644
--- a/chrome/browser/android/compositor/tab_content_manager.h
+++ b/chrome/browser/android/compositor/tab_content_manager.h
@@ -48,9 +48,6 @@ class TabContentManager : public ThumbnailCacheObserver {
void Destroy(JNIEnv* env, jobject obj);
- void SetUIResourceProvider(JNIEnv* env,
- jobject obj,
- jlong ui_resource_provider_ptr);
void SetUIResourceProvider(ui::UIResourceProvider* ui_resource_provider);
// Get the live layer from the cache.
@@ -90,6 +87,7 @@ class TabContentManager : public ThumbnailCacheObserver {
jobject obj,
jint min_forbidden_id);
void GetDecompressedThumbnail(JNIEnv* env, jobject obj, jint tab_id);
+ void OnUIResourcesWereEvicted();
// ThumbnailCacheObserver implementation;
void OnFinishedThumbnailRead(TabId tab_id) override;

Powered by Google App Engine
This is Rietveld 408576698