| 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 #include <queue> | 5 #include <queue> |
| 6 | 6 |
| 7 #include "base/location.h" | 7 #include "base/location.h" |
| 8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
| 9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
| 10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
| (...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1082 } | 1082 } |
| 1083 | 1083 |
| 1084 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestNavOnSrcAttributeChange) { | 1084 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestNavOnSrcAttributeChange) { |
| 1085 TestHelper("testNavOnSrcAttributeChange", "web_view/shim", NO_TEST_SERVER); | 1085 TestHelper("testNavOnSrcAttributeChange", "web_view/shim", NO_TEST_SERVER); |
| 1086 } | 1086 } |
| 1087 | 1087 |
| 1088 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestNavigateAfterResize) { | 1088 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestNavigateAfterResize) { |
| 1089 TestHelper("testNavigateAfterResize", "web_view/shim", NO_TEST_SERVER); | 1089 TestHelper("testNavigateAfterResize", "web_view/shim", NO_TEST_SERVER); |
| 1090 } | 1090 } |
| 1091 | 1091 |
| 1092 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestNestedSubframes) { |
| 1093 TestHelper("testNestedSubframes", "web_view/shim", NO_TEST_SERVER); |
| 1094 } |
| 1095 |
| 1092 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestRemoveSrcAttribute) { | 1096 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestRemoveSrcAttribute) { |
| 1093 TestHelper("testRemoveSrcAttribute", "web_view/shim", NO_TEST_SERVER); | 1097 TestHelper("testRemoveSrcAttribute", "web_view/shim", NO_TEST_SERVER); |
| 1094 } | 1098 } |
| 1095 | 1099 |
| 1096 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestReassignSrcAttribute) { | 1100 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestReassignSrcAttribute) { |
| 1097 TestHelper("testReassignSrcAttribute", "web_view/shim", NO_TEST_SERVER); | 1101 TestHelper("testReassignSrcAttribute", "web_view/shim", NO_TEST_SERVER); |
| 1098 } | 1102 } |
| 1099 | 1103 |
| 1100 IN_PROC_BROWSER_TEST_F(WebViewNewWindowTest, Shim_TestNewWindow) { | 1104 IN_PROC_BROWSER_TEST_F(WebViewNewWindowTest, Shim_TestNewWindow) { |
| 1101 TestHelper("testNewWindow", "web_view/shim", NEEDS_TEST_SERVER); | 1105 TestHelper("testNewWindow", "web_view/shim", NEEDS_TEST_SERVER); |
| (...skipping 1516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2618 // Generate and send synthetic touch event. | 2622 // Generate and send synthetic touch event. |
| 2619 FocusWaiter waiter(aura_webview); | 2623 FocusWaiter waiter(aura_webview); |
| 2620 content::SimulateTouchPressAt(GetEmbedderWebContents(), | 2624 content::SimulateTouchPressAt(GetEmbedderWebContents(), |
| 2621 guest_rect.CenterPoint()); | 2625 guest_rect.CenterPoint()); |
| 2622 | 2626 |
| 2623 // Wait for the TouchStart to propagate and restore focus. Test times out | 2627 // Wait for the TouchStart to propagate and restore focus. Test times out |
| 2624 // on failure. | 2628 // on failure. |
| 2625 waiter.Wait(); | 2629 waiter.Wait(); |
| 2626 } | 2630 } |
| 2627 #endif | 2631 #endif |
| OLD | NEW |