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

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

Issue 2179563003: Android: Remove ContentViewCore::GetLayer() from public interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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 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 "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Callback for when the thumbnail decompression for tab_id is done. 70 // Callback for when the thumbnail decompression for tab_id is done.
71 void OnFinishDecompressThumbnail(int tab_id, bool success, SkBitmap bitmap); 71 void OnFinishDecompressThumbnail(int tab_id, bool success, SkBitmap bitmap);
72 // JNI methods. 72 // JNI methods.
73 jboolean HasFullCachedThumbnail( 73 jboolean HasFullCachedThumbnail(
74 JNIEnv* env, 74 JNIEnv* env,
75 const base::android::JavaParamRef<jobject>& obj, 75 const base::android::JavaParamRef<jobject>& obj,
76 jint tab_id); 76 jint tab_id);
77 void CacheTab(JNIEnv* env, 77 void CacheTab(JNIEnv* env,
78 const base::android::JavaParamRef<jobject>& obj, 78 const base::android::JavaParamRef<jobject>& obj,
79 const base::android::JavaParamRef<jobject>& tab, 79 const base::android::JavaParamRef<jobject>& tab,
80 const base::android::JavaParamRef<jobject>& content_view_core,
81 jfloat thumbnail_scale); 80 jfloat thumbnail_scale);
82 void CacheTabWithBitmap(JNIEnv* env, 81 void CacheTabWithBitmap(JNIEnv* env,
83 const base::android::JavaParamRef<jobject>& obj, 82 const base::android::JavaParamRef<jobject>& obj,
84 const base::android::JavaParamRef<jobject>& tab, 83 const base::android::JavaParamRef<jobject>& tab,
85 const base::android::JavaParamRef<jobject>& bitmap, 84 const base::android::JavaParamRef<jobject>& bitmap,
86 jfloat thumbnail_scale); 85 jfloat thumbnail_scale);
87 void InvalidateIfChanged(JNIEnv* env, 86 void InvalidateIfChanged(JNIEnv* env,
88 const base::android::JavaParamRef<jobject>& obj, 87 const base::android::JavaParamRef<jobject>& obj,
89 jint tab_id, 88 jint tab_id,
90 const base::android::JavaParamRef<jstring>& jurl); 89 const base::android::JavaParamRef<jstring>& jurl);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 122
124 DISALLOW_COPY_AND_ASSIGN(TabContentManager); 123 DISALLOW_COPY_AND_ASSIGN(TabContentManager);
125 }; 124 };
126 125
127 bool RegisterTabContentManager(JNIEnv* env); 126 bool RegisterTabContentManager(JNIEnv* env);
128 127
129 } // namespace android 128 } // namespace android
130 } // namespace chrome 129 } // namespace chrome
131 130
132 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_TAB_CONTENT_MANAGER_H_ 131 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_TAB_CONTENT_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698