| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package org.chromium.android_webview.test; | 5 package org.chromium.android_webview.test; |
| 6 | 6 |
| 7 import android.support.test.filters.MediumTest; | 7 import android.support.test.filters.MediumTest; |
| 8 import android.view.KeyEvent; | 8 import android.view.KeyEvent; |
| 9 import android.view.View; | 9 import android.view.View; |
| 10 import android.view.ViewGroup; | 10 import android.view.ViewGroup; |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 @Override | 143 @Override |
| 144 public void run() { | 144 public void run() { |
| 145 DOMUtils.exitFullscreen(mContentViewCore.getWebContents()); | 145 DOMUtils.exitFullscreen(mContentViewCore.getWebContents()); |
| 146 } | 146 } |
| 147 }); | 147 }); |
| 148 } | 148 } |
| 149 | 149 |
| 150 /* | 150 /* |
| 151 @MediumTest | 151 @MediumTest |
| 152 @Feature({"AndroidWebView"}) | 152 @Feature({"AndroidWebView"}) |
| 153 @ParameterizedTest.Set // crbug.com/616501 | 153 @SkipParameterization // crbug.com/616501 |
| 154 */ | 154 */ |
| 155 @DisabledTest(message = "crbug.com/618749") | 155 @DisabledTest(message = "crbug.com/618749") |
| 156 public void testOnShowAndHideCustomViewWithBackKey_video() throws Throwable
{ | 156 public void testOnShowAndHideCustomViewWithBackKey_video() throws Throwable
{ |
| 157 doTestOnShowAndHideCustomViewWithBackKey(VIDEO_TEST_URL); | 157 doTestOnShowAndHideCustomViewWithBackKey(VIDEO_TEST_URL); |
| 158 } | 158 } |
| 159 | 159 |
| 160 /* | 160 /* |
| 161 @MediumTest | 161 @MediumTest |
| 162 @Feature({"AndroidWebView"}) | 162 @Feature({"AndroidWebView"}) |
| 163 */ | 163 */ |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 public WebContents call() throws Exception { | 489 public WebContents call() throws Exception { |
| 490 return mContentViewCore.getWebContents(); | 490 return mContentViewCore.getWebContents(); |
| 491 } | 491 } |
| 492 }); | 492 }); |
| 493 } catch (Exception e) { | 493 } catch (Exception e) { |
| 494 fail(e.getMessage()); | 494 fail(e.getMessage()); |
| 495 return null; | 495 return null; |
| 496 } | 496 } |
| 497 } | 497 } |
| 498 } | 498 } |
| OLD | NEW |