OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/basictypes.h" | 5 #include "base/basictypes.h" |
6 | 6 |
7 #include "base/shared_memory.h" | 7 #include "base/shared_memory.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "content/common/view_messages.h" | 10 #include "content/common/view_messages.h" |
11 #include "content/public/browser/native_web_keyboard_event.h" | 11 #include "content/public/browser/native_web_keyboard_event.h" |
12 #include "content/public/browser/web_ui_controller_factory.h" | 12 #include "content/public/browser/web_ui_controller_factory.h" |
13 #include "content/public/common/bindings_policy.h" | 13 #include "content/public/common/bindings_policy.h" |
14 #include "content/public/common/url_utils.h" | 14 #include "content/public/common/url_utils.h" |
15 #include "content/public/renderer/document_state.h" | 15 #include "content/public/renderer/document_state.h" |
16 #include "content/public/renderer/history_item_serialization.h" | 16 #include "content/public/renderer/history_item_serialization.h" |
17 #include "content/public/renderer/navigation_state.h" | 17 #include "content/public/renderer/navigation_state.h" |
18 #include "content/public/test/render_view_test.h" | 18 #include "content/public/test/render_view_test.h" |
19 #include "content/renderer/render_view_impl.h" | 19 #include "content/renderer/render_view_impl.h" |
(...skipping 1841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1861 EXPECT_EQ(output, L"hello \n\nworld"); | 1861 EXPECT_EQ(output, L"hello \n\nworld"); |
1862 } | 1862 } |
1863 | 1863 |
1864 // This test ensures that a RenderFrame object is created for the top level | 1864 // This test ensures that a RenderFrame object is created for the top level |
1865 // frame in the RenderView. | 1865 // frame in the RenderView. |
1866 TEST_F(RenderViewImplTest, BasicRenderFrame) { | 1866 TEST_F(RenderViewImplTest, BasicRenderFrame) { |
1867 EXPECT_TRUE(view()->main_render_frame_.get()); | 1867 EXPECT_TRUE(view()->main_render_frame_.get()); |
1868 } | 1868 } |
1869 | 1869 |
1870 } // namespace content | 1870 } // namespace content |
OLD | NEW |