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

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

Issue 425343002: [Android WebView] API to enable fullscreen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 years, 5 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/FullScreenVideoTestAwContentsClient.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/FullScreenVideoTestAwContentsClient.java b/android_webview/javatests/src/org/chromium/android_webview/test/FullScreenVideoTestAwContentsClient.java
index 37edab55ad849548c35d151954d71ede41521865..81ac195b4c2a559826cdabbf6e17005c26434d62 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/FullScreenVideoTestAwContentsClient.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/FullScreenVideoTestAwContentsClient.java
@@ -65,6 +65,10 @@ public class FullScreenVideoTestAwContentsClient extends TestAwContentsClient {
return mCustomView;
}
+ public boolean wasCustonViewShownCalled() {
benm (inactive) 2014/07/31 14:39:23 nit: s/Custon/Custom
Ignacio Solla 2014/08/04 09:51:32 Done.
+ return mOnShowCustomViewCallbackHelper.getCallCount() > 0;
+ }
+
public void waitForCustomViewShown() throws TimeoutException, InterruptedException {
mOnShowCustomViewCallbackHelper.waitForCallback(0, 1, WAITING_SECONDS, TimeUnit.SECONDS);
}

Powered by Google App Engine
This is Rietveld 408576698