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 "base/macros.h" |
5 #include "base/strings/utf_string_conversions.h" | 6 #include "base/strings/utf_string_conversions.h" |
6 #include "base/values.h" | 7 #include "base/values.h" |
| 8 #include "build/build_config.h" |
7 #include "content/browser/frame_host/navigation_entry_impl.h" | 9 #include "content/browser/frame_host/navigation_entry_impl.h" |
8 #include "content/browser/renderer_host/render_widget_host_impl.h" | 10 #include "content/browser/renderer_host/render_widget_host_impl.h" |
9 #include "content/browser/web_contents/web_contents_impl.h" | 11 #include "content/browser/web_contents/web_contents_impl.h" |
10 #include "content/browser/web_contents/web_contents_view.h" | 12 #include "content/browser/web_contents/web_contents_view.h" |
11 #include "content/common/frame_messages.h" | 13 #include "content/common/frame_messages.h" |
12 #include "content/public/browser/load_notification_details.h" | 14 #include "content/public/browser/load_notification_details.h" |
13 #include "content/public/browser/navigation_controller.h" | 15 #include "content/public/browser/navigation_controller.h" |
14 #include "content/public/browser/notification_details.h" | 16 #include "content/public/browser/notification_details.h" |
15 #include "content/public/browser/notification_observer.h" | 17 #include "content/public/browser/notification_observer.h" |
16 #include "content/public/browser/notification_types.h" | 18 #include "content/public/browser/notification_types.h" |
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 Shell* new_shell = new_shell_observer.GetShell(); | 758 Shell* new_shell = new_shell_observer.GetShell(); |
757 WaitForLoadStop(new_shell->web_contents()); | 759 WaitForLoadStop(new_shell->web_contents()); |
758 | 760 |
759 EXPECT_EQ("foo", | 761 EXPECT_EQ("foo", |
760 static_cast<WebContentsImpl*>(new_shell->web_contents()) | 762 static_cast<WebContentsImpl*>(new_shell->web_contents()) |
761 ->GetFrameTree()->root()->frame_name()); | 763 ->GetFrameTree()->root()->frame_name()); |
762 } | 764 } |
763 } | 765 } |
764 | 766 |
765 } // namespace content | 767 } // namespace content |
OLD | NEW |