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

Unified Diff: chrome/browser/android/tab_android.h

Issue 364793005: Implementation of GetFavicon for current tab. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the review comment Created 6 years, 6 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/tab_android.h
diff --git a/chrome/browser/android/tab_android.h b/chrome/browser/android/tab_android.h
index 0ee5392e2a471a6176e6afb9ea5dbf83652b5aff..ad45a8ea35fc27b4aa214ebeb4c051f1a9de861c 100644
--- a/chrome/browser/android/tab_android.h
+++ b/chrome/browser/android/tab_android.h
@@ -147,6 +147,10 @@ class TabAndroid : public CoreTabHelperDelegate,
jstring jurl,
jstring jtitle);
bool Print(JNIEnv* env, jobject obj);
+ // Called to get favicon of current tab, return null if no favicon is
+ // avaliable for current tab.
+ base::android::ScopedJavaLocalRef<jobject> GetFavicon(JNIEnv* env,
+ jobject obj);
// Register the Tab's native methods through JNI.
static bool RegisterTabAndroid(JNIEnv* env);

Powered by Google App Engine
This is Rietveld 408576698