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_impl.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" |
(...skipping 25 matching lines...) Expand all Loading... |
36 } | 36 } |
37 } | 37 } |
38 | 38 |
39 void TestRenderFrame::SwapOut( | 39 void TestRenderFrame::SwapOut( |
40 int proxy_routing_id, | 40 int proxy_routing_id, |
41 bool is_loading, | 41 bool is_loading, |
42 const FrameReplicationState& replicated_frame_state) { | 42 const FrameReplicationState& replicated_frame_state) { |
43 OnSwapOut(proxy_routing_id, is_loading, replicated_frame_state); | 43 OnSwapOut(proxy_routing_id, is_loading, replicated_frame_state); |
44 } | 44 } |
45 | 45 |
46 void TestRenderFrame::SetEditableSelectionOffsets(int start, int end) { | |
47 OnSetEditableSelectionOffsets(start, end); | |
48 } | |
49 | |
50 void TestRenderFrame::ExtendSelectionAndDelete(int before, int after) { | |
51 OnExtendSelectionAndDelete(before, after); | |
52 } | |
53 | |
54 void TestRenderFrame::Unselect() { | 46 void TestRenderFrame::Unselect() { |
55 OnUnselect(); | 47 OnUnselect(); |
56 } | 48 } |
57 | 49 |
58 void TestRenderFrame::SetAccessibilityMode(AccessibilityMode new_mode) { | 50 void TestRenderFrame::SetAccessibilityMode(AccessibilityMode new_mode) { |
59 OnSetAccessibilityMode(new_mode); | 51 OnSetAccessibilityMode(new_mode); |
60 } | 52 } |
61 | 53 |
62 void TestRenderFrame::SetCompositionFromExistingText( | |
63 int start, | |
64 int end, | |
65 const std::vector<blink::WebCompositionUnderline>& underlines) { | |
66 OnSetCompositionFromExistingText(start, end, underlines); | |
67 } | |
68 | |
69 } // namespace content | 54 } // namespace content |
OLD | NEW |