summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/WebChromeClient.java
diff options
context:
space:
mode:
authorAndrei Popescu <andreip@google.com>2009-06-19 14:54:09 +0100
committerAndrei Popescu <andreip@google.com>2009-06-26 13:57:01 +0100
commit6fa2958059a08390ed2b87b8572f8847ad9999e4 (patch)
tree1a83b1b37460e16e78eb72e9d44b07b5b2985813 /core/java/android/webkit/WebChromeClient.java
parentaec9632db02bd2c9850bd6827359cd3d6282c797 (diff)
Implement support for showing a VideoView.
Diffstat (limited to 'core/java/android/webkit/WebChromeClient.java')
-rw-r--r--core/java/android/webkit/WebChromeClient.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebChromeClient.java b/core/java/android/webkit/WebChromeClient.java
index 754b1d90adf4..19e39ed24a9c 100644
--- a/core/java/android/webkit/WebChromeClient.java
+++ b/core/java/android/webkit/WebChromeClient.java
@@ -18,6 +18,7 @@ package android.webkit;
import android.graphics.Bitmap;
import android.os.Message;
+import android.view.View;
public class WebChromeClient {
@@ -44,6 +45,23 @@ public class WebChromeClient {
public void onReceivedIcon(WebView view, Bitmap icon) {}
/**
+ * Notify the host application that the current page would
+ * like to show a custom View.
+ * @param view is the View object to be shown.
+ *
+ * @hide pending council approval
+ */
+ public void onShowCustomView(View view) {}
+
+ /**
+ * Notify the host application that the current page would
+ * like to hide its custom view.
+ *
+ * @hide pending council approval
+ */
+ public void onHideCustomView() {}
+
+ /**
* Request the host application to create a new Webview. The host
* application should handle placement of the new WebView in the view
* system. The default behavior returns null.