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

Side by Side Diff: content/browser/top_document_isolation_browsertest.cc

Issue 2478583005: Browser tests for starting a drag-and-drop out of an OOPIF. (Closed)
Patch Set: Rebasing... Created 4 years, 1 month 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 <string> 5 #include <string>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "content/browser/frame_host/frame_tree_node.h" 8 #include "content/browser/frame_host/frame_tree_node.h"
9 #include "content/browser/web_contents/web_contents_impl.h" 9 #include "content/browser/web_contents/web_contents_impl.h"
10 #include "content/public/common/content_switches.h" 10 #include "content/public/common/content_switches.h"
11 #include "content/public/test/browser_test_utils.h" 11 #include "content/public/test/browser_test_utils.h"
12 #include "content/public/test/content_browser_test.h" 12 #include "content/public/test/content_browser_test.h"
13 #include "content/public/test/content_browser_test_utils.h" 13 #include "content/public/test/content_browser_test_utils.h"
14 #include "content/public/test/test_frame_navigation_observer.h"
14 #include "content/public/test/test_navigation_observer.h" 15 #include "content/public/test/test_navigation_observer.h"
15 #include "content/shell/browser/shell.h" 16 #include "content/shell/browser/shell.h"
16 #include "content/test/content_browser_test_utils_internal.h" 17 #include "content/test/content_browser_test_utils_internal.h"
17 #include "content/test/test_frame_navigation_observer.h"
18 #include "net/dns/mock_host_resolver.h" 18 #include "net/dns/mock_host_resolver.h"
19 #include "net/test/embedded_test_server/embedded_test_server.h" 19 #include "net/test/embedded_test_server/embedded_test_server.h"
20 #include "url/gurl.h" 20 #include "url/gurl.h"
21 21
22 namespace content { 22 namespace content {
23 23
24 class TopDocumentIsolationTest : public ContentBrowserTest { 24 class TopDocumentIsolationTest : public ContentBrowserTest {
25 public: 25 public:
26 TopDocumentIsolationTest() {} 26 TopDocumentIsolationTest() {}
27 27
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 " C = http://adnetwork.com/", 602 " C = http://adnetwork.com/",
603 DepictFrameTree(root())); 603 DepictFrameTree(root()));
604 EXPECT_EQ( 604 EXPECT_EQ(
605 " Site C ------------ proxies for B\n" 605 " Site C ------------ proxies for B\n"
606 "Where B = default subframe process\n" 606 "Where B = default subframe process\n"
607 " C = http://adnetwork.com/", 607 " C = http://adnetwork.com/",
608 DepictFrameTree(popup_root)); 608 DepictFrameTree(popup_root));
609 } 609 }
610 610
611 } // namespace content 611 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/browser/web_contents/drag_and_drop_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698