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..c1a82b8f554d7e51f1a0e56d1b0e1370e22a2d3f 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 wasCustomViewShownCalled() { |
+ return mOnShowCustomViewCallbackHelper.getCallCount() > 0; |
+ } |
+ |
public void waitForCustomViewShown() throws TimeoutException, InterruptedException { |
mOnShowCustomViewCallbackHelper.waitForCallback(0, 1, WAITING_SECONDS, TimeUnit.SECONDS); |
} |