Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Side by Side Diff: chrome/browser/apps/guest_view/web_view_browsertest.cc

Issue 1262563003: Subframes in inner WebContents should not create proxies in process of outer WebContents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments from lfg@ Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/test/data/extensions/platform_apps/web_view/shim/child_frame.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_TestNestedCrossOriginSubframes) {
1093 TestHelper("testNestedCrossOriginSubframes",
1094 "web_view/shim", NEEDS_TEST_SERVER);
1095 }
1096
1097 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestNestedSubframes) {
1098 TestHelper("testNestedSubframes", "web_view/shim", NO_TEST_SERVER);
1099 }
1100
1092 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestRemoveSrcAttribute) { 1101 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestRemoveSrcAttribute) {
1093 TestHelper("testRemoveSrcAttribute", "web_view/shim", NO_TEST_SERVER); 1102 TestHelper("testRemoveSrcAttribute", "web_view/shim", NO_TEST_SERVER);
1094 } 1103 }
1095 1104
1096 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestReassignSrcAttribute) { 1105 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestReassignSrcAttribute) {
1097 TestHelper("testReassignSrcAttribute", "web_view/shim", NO_TEST_SERVER); 1106 TestHelper("testReassignSrcAttribute", "web_view/shim", NO_TEST_SERVER);
1098 } 1107 }
1099 1108
1100 IN_PROC_BROWSER_TEST_F(WebViewNewWindowTest, Shim_TestNewWindow) { 1109 IN_PROC_BROWSER_TEST_F(WebViewNewWindowTest, Shim_TestNewWindow) {
1101 TestHelper("testNewWindow", "web_view/shim", NEEDS_TEST_SERVER); 1110 TestHelper("testNewWindow", "web_view/shim", NEEDS_TEST_SERVER);
(...skipping 1516 matching lines...) Expand 10 before | Expand all | Expand 10 after
2618 // Generate and send synthetic touch event. 2627 // Generate and send synthetic touch event.
2619 FocusWaiter waiter(aura_webview); 2628 FocusWaiter waiter(aura_webview);
2620 content::SimulateTouchPressAt(GetEmbedderWebContents(), 2629 content::SimulateTouchPressAt(GetEmbedderWebContents(),
2621 guest_rect.CenterPoint()); 2630 guest_rect.CenterPoint());
2622 2631
2623 // Wait for the TouchStart to propagate and restore focus. Test times out 2632 // Wait for the TouchStart to propagate and restore focus. Test times out
2624 // on failure. 2633 // on failure.
2625 waiter.Wait(); 2634 waiter.Wait();
2626 } 2635 }
2627 #endif 2636 #endif
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/extensions/platform_apps/web_view/shim/child_frame.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698