diff options
| author | Andrei Popescu <andreip@google.com> | 2009-09-18 18:59:52 +0100 |
|---|---|---|
| committer | Andrei Popescu <andreip@google.com> | 2009-09-18 19:07:17 +0100 |
| commit | bf385d7c7b093564738f8cfd4386daf5e94b8a6d (patch) | |
| tree | e6dfce6c3277760a78ffa1f193c5f80f29d73791 /core/java/android/webkit/WebChromeClient.java | |
| parent | dfcbc046d7fcd74c8aacd9f26bd48084900d3b4a (diff) | |
Add progress view and default poster for the <video> implementation
Diffstat (limited to 'core/java/android/webkit/WebChromeClient.java')
| -rw-r--r-- | core/java/android/webkit/WebChromeClient.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebChromeClient.java b/core/java/android/webkit/WebChromeClient.java index 6421fe739d4f..0e08514cd2d9 100644 --- a/core/java/android/webkit/WebChromeClient.java +++ b/core/java/android/webkit/WebChromeClient.java @@ -273,4 +273,26 @@ public class WebChromeClient { * @hide pending API council. */ public void addMessageToConsole(String message, int lineNumber, String sourceID) {} + + /** + * Ask the host application for an icon to represent a <video> element. + * This icon will be used if the Web page did not specify a poster attribute. + * + * @return Bitmap The icon or null if no such icon is available. + * @hide pending API Council approval + */ + public Bitmap getDefaultVideoPoster() { + return null; + } + + /** + * Ask the host application for a custom progress view to show while + * a <video> is loading. + * + * @return View The progress view. + * @hide pending API Council approval + */ + public View getVideoLoadingProgressView() { + return null; + } } |
