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

Side by Side Diff: chrome/browser/android/compositor/tab_content_manager.h

Issue 2810813004: Hide fullscreen rotation jank (Closed)
Patch Set: Remove clearThumbnailPlaceholder fn Created 3 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_COMPOSITOR_TAB_CONTENT_MANAGER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_COMPOSITOR_TAB_CONTENT_MANAGER_H_
6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_TAB_CONTENT_MANAGER_H_ 6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_TAB_CONTENT_MANAGER_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 const base::android::JavaParamRef<jobject>& bitmap, 85 const base::android::JavaParamRef<jobject>& bitmap,
86 jfloat thumbnail_scale); 86 jfloat thumbnail_scale);
87 void InvalidateIfChanged(JNIEnv* env, 87 void InvalidateIfChanged(JNIEnv* env,
88 const base::android::JavaParamRef<jobject>& obj, 88 const base::android::JavaParamRef<jobject>& obj,
89 jint tab_id, 89 jint tab_id,
90 const base::android::JavaParamRef<jstring>& jurl); 90 const base::android::JavaParamRef<jstring>& jurl);
91 void UpdateVisibleIds(JNIEnv* env, 91 void UpdateVisibleIds(JNIEnv* env,
92 const base::android::JavaParamRef<jobject>& obj, 92 const base::android::JavaParamRef<jobject>& obj,
93 const base::android::JavaParamRef<jintArray>& priority, 93 const base::android::JavaParamRef<jintArray>& priority,
94 jint primary_tab_id); 94 jint primary_tab_id);
95 void NativeRemoveTabThumbnail(int tab_id);
95 void RemoveTabThumbnail(JNIEnv* env, 96 void RemoveTabThumbnail(JNIEnv* env,
96 const base::android::JavaParamRef<jobject>& obj, 97 const base::android::JavaParamRef<jobject>& obj,
97 jint tab_id); 98 jint tab_id);
98 void GetDecompressedThumbnail(JNIEnv* env, 99 void GetDecompressedThumbnail(JNIEnv* env,
99 const base::android::JavaParamRef<jobject>& obj, 100 const base::android::JavaParamRef<jobject>& obj,
100 jint tab_id); 101 jint tab_id);
101 void OnUIResourcesWereEvicted(); 102 void OnUIResourcesWereEvicted();
102 103
103 // ThumbnailCacheObserver implementation; 104 // ThumbnailCacheObserver implementation;
104 void OnFinishedThumbnailRead(TabId tab_id) override; 105 void OnFinishedThumbnailRead(TabId tab_id) override;
(...skipping 20 matching lines...) Expand all
125 base::WeakPtrFactory<TabContentManager> weak_factory_; 126 base::WeakPtrFactory<TabContentManager> weak_factory_;
126 127
127 DISALLOW_COPY_AND_ASSIGN(TabContentManager); 128 DISALLOW_COPY_AND_ASSIGN(TabContentManager);
128 }; 129 };
129 130
130 bool RegisterTabContentManager(JNIEnv* env); 131 bool RegisterTabContentManager(JNIEnv* env);
131 132
132 } // namespace android 133 } // namespace android
133 134
134 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_TAB_CONTENT_MANAGER_H_ 135 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_TAB_CONTENT_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698