diff options
| author | Patrick Scott <phanna@android.com> | 2009-08-04 13:20:05 -0400 |
|---|---|---|
| committer | Patrick Scott <phanna@android.com> | 2009-08-05 08:29:40 -0400 |
| commit | 2ba1262b420ef5b9abebcd818c46774b8517f244 (patch) | |
| tree | a26365fd21f6295454b16d000a3143d41e88fbd8 /core/java/android/webkit/BrowserFrame.java | |
| parent | 0f0767d4daa847314bd9473ef3650d26d1c51c8c (diff) | |
Add a callback for the url of an apple-touch-icon.
Hide the apis until this is a well-tested feature. The url is reported rather
than the actual icon since it may never be used. The apple-touch-icon is meant
for shortcuts on the home screen.
Diffstat (limited to 'core/java/android/webkit/BrowserFrame.java')
| -rw-r--r-- | core/java/android/webkit/BrowserFrame.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/webkit/BrowserFrame.java b/core/java/android/webkit/BrowserFrame.java index e6ccd70ab74c..06581c16956d 100644 --- a/core/java/android/webkit/BrowserFrame.java +++ b/core/java/android/webkit/BrowserFrame.java @@ -615,6 +615,11 @@ class BrowserFrame extends Handler { mCallbackProxy.onReceivedIcon(icon); } + // Called by JNI when an apple-touch-icon attribute was found. + private void didReceiveTouchIconUrl(String url) { + mCallbackProxy.onReceivedTouchIconUrl(url); + } + /** * Request a new window from the client. * @return The BrowserFrame object stored in the new WebView. |
