summaryrefslogtreecommitdiffstats
path: root/android_webview/test
diff options
context:
space:
mode:
authormichaelbai@chromium.org <michaelbai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-27 06:56:12 +0000
committermichaelbai@chromium.org <michaelbai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-27 06:56:12 +0000
commit1f50f98c20320eaaa762714e9c5c9ca30492b051 (patch)
tree81eb8911e40b3a01f80cbbad5bbc94d4e32186a6 /android_webview/test
parent62e52ea8ca9f5a60562f337d948b68424f0b1da7 (diff)
downloadchromium_src-1f50f98c20320eaaa762714e9c5c9ca30492b051.zip
chromium_src-1f50f98c20320eaaa762714e9c5c9ca30492b051.tar.gz
chromium_src-1f50f98c20320eaaa762714e9c5c9ca30492b051.tar.bz2
[Android_WebView] Implement WebChromeClient.getDefaultVideoPoster.
Intercept the defaultVideoPoster request and return the poster from AwContents.getDefaultVideoPoster(); BUG=http://b/6294871 Review URL: https://chromiumcodereview.appspot.com/12702015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190839 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/test')
-rw-r--r--android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java b/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java
index c340073..5806319 100644
--- a/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java
+++ b/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java
@@ -4,7 +4,6 @@
package org.chromium.android_webview.test;
-import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Picture;
import android.net.http.SslError;
@@ -174,4 +173,9 @@ public class NullContentsClient extends AwContentsClient {
protected View getVideoLoadingProgressView() {
return null;
}
+
+ @Override
+ public Bitmap getDefaultVideoPoster() {
+ return null;
+ }
}