summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni/WebCoreFrameBridge.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 /WebKit/android/jni/WebCoreFrameBridge.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 'WebKit/android/jni/WebCoreFrameBridge.h')
-rw-r--r--WebKit/android/jni/WebCoreFrameBridge.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/WebKit/android/jni/WebCoreFrameBridge.h b/WebKit/android/jni/WebCoreFrameBridge.h
index 5bfd1fb..6b5c90c 100644
--- a/WebKit/android/jni/WebCoreFrameBridge.h
+++ b/WebKit/android/jni/WebCoreFrameBridge.h
@@ -89,6 +89,8 @@ class WebFrame : public WebCoreRefObject {
const WebCore::String userAgentForURL(const WebCore::KURL* url);
void didReceiveIcon(WebCore::Image* icon);
+
+ void didReceiveTouchIconURL(const WebCore::String& url);
void updateVisitedHistory(const WebCore::KURL& url, bool reload);