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

Unified Diff: android_webview/browser/icon_helper.h

Issue 25878003: [Android WebView] Add an API to control favicon loading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 2 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 | « no previous file | android_webview/browser/icon_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/icon_helper.h
diff --git a/android_webview/browser/icon_helper.h b/android_webview/browser/icon_helper.h
index 74988743244e3ccbb6b29d7d043216ca19e2477c..d96406358472ecee5ef0987b8a2c742846a17642 100644
--- a/android_webview/browser/icon_helper.h
+++ b/android_webview/browser/icon_helper.h
@@ -26,6 +26,7 @@ class IconHelper : public content::WebContentsObserver {
public:
class Listener {
public:
+ virtual bool ShouldDownloadFavicon(const GURL& icon_url) = 0;
virtual void OnReceivedIcon(const GURL& icon_url,
const SkBitmap& bitmap) = 0;
virtual void OnReceivedTouchIconUrl(const std::string& url,
« no previous file with comments | « no previous file | android_webview/browser/icon_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698