Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1808)

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestUtil.java

Issue 2299883007: Remove video overlay support from WebView (Closed)
Patch Set: Removed another external_video_surface reference Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestUtil.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestUtil.java b/android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestUtil.java
index 01c8a7791a3e2e02f3579af8e3ba2aa057b7fb93..2d9a99388e37d71e38f114ce9e39223c7ca2d9b1 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestUtil.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestUtil.java
@@ -21,7 +21,7 @@ public class VideoTestUtil {
* @throws Throwable throw exception if timeout.
*/
public static boolean runVideoTest(final AwTestBase testCase, final boolean requiredUserGesture,
- final boolean forceVideoOverlay, long waitTime) throws Throwable {
+ long waitTime) throws Throwable {
final JavascriptEventObserver observer = new JavascriptEventObserver();
TestAwContentsClient client = new TestAwContentsClient();
final AwContents awContents =
@@ -32,7 +32,6 @@ public class VideoTestUtil {
AwSettings awSettings = awContents.getSettings();
awSettings.setJavaScriptEnabled(true);
awSettings.setMediaPlaybackRequiresUserGesture(requiredUserGesture);
- awSettings.setForceVideoOverlayForTests(forceVideoOverlay);
observer.register(awContents.getContentViewCore(), "javaObserver");
}
});

Powered by Google App Engine
This is Rietveld 408576698