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/WebChromeClient.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/WebChromeClient.java')
| -rw-r--r-- | core/java/android/webkit/WebChromeClient.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebChromeClient.java b/core/java/android/webkit/WebChromeClient.java index d52406de7920..c10bc97de103 100644 --- a/core/java/android/webkit/WebChromeClient.java +++ b/core/java/android/webkit/WebChromeClient.java @@ -45,6 +45,14 @@ public class WebChromeClient { public void onReceivedIcon(WebView view, Bitmap icon) {} /** + * Notify the host application of the url for an apple-touch-icon. + * @param view The WebView that initiated the callback. + * @param url The icon url. + * @hide pending council approval + */ + public void onReceivedTouchIconUrl(WebView view, String url) {} + + /** * A callback interface used by the host application to notify * the current page that its custom view has been dismissed. * |
