summaryrefslogtreecommitdiffstats
path: root/WebCore/loader/FrameLoaderClient.h
diff options
context:
space:
mode:
authorPatrick Scott <phanna@android.com>2009-08-04 09:25:54 -0400
committerPatrick Scott <phanna@android.com>2009-08-05 08:29:32 -0400
commitf1c0bbb9bf698154c206e842f94b72d277a96094 (patch)
tree70aa0bdf3c877788a1f4e037ad8c06d949c18cd9 /WebCore/loader/FrameLoaderClient.h
parent2792e6b92c85f6a20d2203484d2aa72d6df78a22 (diff)
downloadexternal_webkit-f1c0bbb9bf698154c206e842f94b72d277a96094.zip
external_webkit-f1c0bbb9bf698154c206e842f94b72d277a96094.tar.gz
external_webkit-f1c0bbb9bf698154c206e842f94b72d277a96094.tar.bz2
Add a callback for parsing apple-touch-icon.
Call through FrameLoaderClient when an apple-touch-icon attribute is parsed. Instead of always downloaded the icon, just report the url so that if it is needed, it can downloaded by java. It is also a lot more code to let WebCore handle storage and retrieval of the icon.
Diffstat (limited to 'WebCore/loader/FrameLoaderClient.h')
-rw-r--r--WebCore/loader/FrameLoaderClient.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/loader/FrameLoaderClient.h b/WebCore/loader/FrameLoaderClient.h
index 5e5191b..e64dee9 100644
--- a/WebCore/loader/FrameLoaderClient.h
+++ b/WebCore/loader/FrameLoaderClient.h
@@ -222,6 +222,9 @@ namespace WebCore {
virtual void didPerformFirstNavigation() const = 0; // "Navigation" here means a transition from one page to another that ends up in the back/forward list.
virtual void registerForIconNotification(bool listen = true) = 0;
+#ifdef ANDROID_APPLE_TOUCH_ICON
+ virtual void dispatchDidReceiveTouchIconURL(const String& url) = 0;
+#endif
#if PLATFORM(MAC)
#if ENABLE(MAC_JAVA_BRIDGE)