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 "content/browser/renderer_host/frame_tree.h" | 5 #include "content/browser/frame_host/frame_tree.h" |
6 | 6 |
7 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
9 #include "content/browser/renderer_host/render_frame_host_impl.h" | 9 #include "content/browser/frame_host/render_frame_host_impl.h" |
10 #include "content/browser/renderer_host/render_view_host_impl.h" | 10 #include "content/browser/renderer_host/render_view_host_impl.h" |
11 #include "content/public/test/mock_render_process_host.h" | 11 #include "content/public/test/mock_render_process_host.h" |
12 #include "content/public/test/test_browser_context.h" | 12 #include "content/public/test/test_browser_context.h" |
13 #include "content/public/test/test_browser_thread_bundle.h" | 13 #include "content/public/test/test_browser_thread_bundle.h" |
14 #include "content/public/test/test_renderer_host.h" | 14 #include "content/public/test/test_renderer_host.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 namespace { | 18 namespace { |
19 | 19 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 frame_tree.RemoveFrame(5, 15); | 164 frame_tree.RemoveFrame(5, 15); |
165 ASSERT_EQ("5: [14: [244: [], 245: []], " | 165 ASSERT_EQ("5: [14: [244: [], 245: []], " |
166 "16: [264: [], 266: [], " | 166 "16: [264: [], 266: [], " |
167 "267 'node with deep subtree': " | 167 "267 'node with deep subtree': " |
168 "[365: [455: [555: []]]], 268: []]]", | 168 "[365: [455: [555: []]]], 268: []]]", |
169 GetTreeState(&frame_tree)); | 169 GetTreeState(&frame_tree)); |
170 } | 170 } |
171 | 171 |
172 } // namespace | 172 } // namespace |
173 } // namespace content | 173 } // namespace content |
OLD | NEW |