From f1c0bbb9bf698154c206e842f94b72d277a96094 Mon Sep 17 00:00:00 2001 From: Patrick Scott Date: Tue, 4 Aug 2009 09:25:54 -0400 Subject: 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. --- WebCore/loader/FrameLoaderClient.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'WebCore/loader/FrameLoaderClient.h') 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) -- cgit v1.1