Chromium Code Reviews| 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); |
| } |