OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "extensions/browser/guest_view/web_view/web_view_apitest.h" | 5 #include "extensions/browser/guest_view/web_view/web_view_apitest.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
9 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
10 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 } | 383 } |
384 | 384 |
385 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestAPIMethodExistence) { | 385 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestAPIMethodExistence) { |
386 RunTest("testAPIMethodExistence", "web_view/apitest"); | 386 RunTest("testAPIMethodExistence", "web_view/apitest"); |
387 } | 387 } |
388 | 388 |
389 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestAssignSrcAfterCrash) { | 389 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestAssignSrcAfterCrash) { |
390 RunTest("testAssignSrcAfterCrash", "web_view/apitest"); | 390 RunTest("testAssignSrcAfterCrash", "web_view/apitest"); |
391 } | 391 } |
392 | 392 |
393 IN_PROC_BROWSER_TEST_F(WebViewAPITest, DISABLED_TestAutosizeAfterNavigation) { | 393 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestAutosizeAfterNavigation) { |
394 RunTest("testAutosizeAfterNavigation", "web_view/apitest"); | 394 RunTest("testAutosizeAfterNavigation", "web_view/apitest"); |
395 } | 395 } |
396 | 396 |
397 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestAutosizeBeforeNavigation) { | 397 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestAutosizeBeforeNavigation) { |
398 RunTest("testAutosizeBeforeNavigation", "web_view/apitest"); | 398 RunTest("testAutosizeBeforeNavigation", "web_view/apitest"); |
399 } | 399 } |
400 | 400 |
401 IN_PROC_BROWSER_TEST_F(WebViewDPIAPITest, TestAutosizeBeforeNavigation) { | 401 IN_PROC_BROWSER_TEST_F(WebViewDPIAPITest, TestAutosizeBeforeNavigation) { |
402 RunTest("testAutosizeBeforeNavigation", "web_view/apitest"); | 402 RunTest("testAutosizeBeforeNavigation", "web_view/apitest"); |
403 } | 403 } |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
706 RunTest("testWebRequestAPIGoogleProperty", "web_view/apitest"); | 706 RunTest("testWebRequestAPIGoogleProperty", "web_view/apitest"); |
707 } | 707 } |
708 | 708 |
709 // This test verifies that webview.contentWindow works inside an iframe | 709 // This test verifies that webview.contentWindow works inside an iframe |
710 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebViewInsideFrame) { | 710 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebViewInsideFrame) { |
711 LaunchApp("web_view/inside_iframe"); | 711 LaunchApp("web_view/inside_iframe"); |
712 } | 712 } |
713 | 713 |
714 | 714 |
715 } // namespace extensions | 715 } // namespace extensions |
OLD | NEW |