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

Side by Side Diff: content/browser/frame_host/frame_tree_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 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 "base/macros.h" 5 #include "base/macros.h"
6 #include "build/build_config.h" 6 #include "build/build_config.h"
7 #include "content/browser/frame_host/frame_tree.h" 7 #include "content/browser/frame_host/frame_tree.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/renderer_host/render_view_host_impl.h" 9 #include "content/browser/renderer_host/render_view_host_impl.h"
10 #include "content/browser/web_contents/web_contents_impl.h" 10 #include "content/browser/web_contents/web_contents_impl.h"
11 #include "content/public/browser/notification_service.h" 11 #include "content/public/browser/notification_service.h"
12 #include "content/public/browser/notification_types.h" 12 #include "content/public/browser/notification_types.h"
13 #include "content/public/common/content_switches.h" 13 #include "content/public/common/content_switches.h"
14 #include "content/public/common/url_constants.h" 14 #include "content/public/common/url_constants.h"
15 #include "content/public/test/browser_test_utils.h" 15 #include "content/public/test/browser_test_utils.h"
16 #include "content/public/test/content_browser_test.h" 16 #include "content/public/test/content_browser_test.h"
17 #include "content/public/test/content_browser_test_utils.h" 17 #include "content/public/test/content_browser_test_utils.h"
18 #include "content/public/test/test_navigation_observer.h" 18 #include "content/public/test/test_navigation_observer.h"
19 #include "content/public/test/test_utils.h" 19 #include "content/public/test/test_utils.h"
20 #include "content/shell/browser/shell.h" 20 #include "content/shell/browser/shell.h"
21 #include "content/shell/common/shell_switches.h" 21 #include "content/shell/common/shell_switches.h"
22 #include "content/test/content_browser_test_utils_internal.h" 22 #include "content/test/content_browser_test_utils_internal.h"
23 #include "content/test/test_frame_navigation_observer.h"
24 #include "net/dns/mock_host_resolver.h" 23 #include "net/dns/mock_host_resolver.h"
25 #include "net/test/embedded_test_server/embedded_test_server.h" 24 #include "net/test/embedded_test_server/embedded_test_server.h"
26 #include "third_party/WebKit/public/web/WebSandboxFlags.h" 25 #include "third_party/WebKit/public/web/WebSandboxFlags.h"
27 #include "url/url_constants.h" 26 #include "url/url_constants.h"
28 27
29 // For fine-grained suppression on flaky tests. 28 // For fine-grained suppression on flaky tests.
30 #if defined(OS_WIN) 29 #if defined(OS_WIN)
31 #include "base/win/windows_version.h" 30 #include "base/win/windows_version.h"
32 #endif 31 #endif
33 32
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 // Make sure we did a process transfer back to "b.is". 755 // Make sure we did a process transfer back to "b.is".
757 EXPECT_EQ( 756 EXPECT_EQ(
758 " Site A ------------ proxies for B\n" 757 " Site A ------------ proxies for B\n"
759 " +--Site B ------- proxies for A\n" 758 " +--Site B ------- proxies for A\n"
760 "Where A = http://a.com/\n" 759 "Where A = http://a.com/\n"
761 " B = http://b.is/", 760 " B = http://b.is/",
762 FrameTreeVisualizer().DepictFrameTree(root)); 761 FrameTreeVisualizer().DepictFrameTree(root));
763 } 762 }
764 763
765 } // namespace content 764 } // namespace content
OLDNEW
« no previous file with comments | « chrome/test/data/drag_and_drop/page.html ('k') | content/browser/frame_host/navigation_controller_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698