OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/test/test_render_frame.h" | 5 #include "content/test/test_render_frame.h" |
6 | 6 |
7 #include "content/common/navigation_params.h" | 7 #include "content/common/navigation_params.h" |
8 #include "content/common/resource_request_body.h" | 8 #include "content/common/resource_request_body_impl.h" |
9 #include "content/public/common/browser_side_navigation_policy.h" | 9 #include "content/public/common/browser_side_navigation_policy.h" |
10 #include "content/public/common/resource_response.h" | 10 #include "content/public/common/resource_response.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 // static | 14 // static |
15 RenderFrameImpl* TestRenderFrame::CreateTestRenderFrame( | 15 RenderFrameImpl* TestRenderFrame::CreateTestRenderFrame( |
16 const RenderFrameImpl::CreateParams& params) { | 16 const RenderFrameImpl::CreateParams& params) { |
17 return new TestRenderFrame(params); | 17 return new TestRenderFrame(params); |
18 } | 18 } |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 } | 60 } |
61 | 61 |
62 void TestRenderFrame::SetCompositionFromExistingText( | 62 void TestRenderFrame::SetCompositionFromExistingText( |
63 int start, | 63 int start, |
64 int end, | 64 int end, |
65 const std::vector<blink::WebCompositionUnderline>& underlines) { | 65 const std::vector<blink::WebCompositionUnderline>& underlines) { |
66 OnSetCompositionFromExistingText(start, end, underlines); | 66 OnSetCompositionFromExistingText(start, end, underlines); |
67 } | 67 } |
68 | 68 |
69 } // namespace content | 69 } // namespace content |
OLD | NEW |