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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 } | 44 } |
45 | 45 |
46 void TestRenderFrame::SetEditableSelectionOffsets(int start, int end) { | 46 void TestRenderFrame::SetEditableSelectionOffsets(int start, int end) { |
47 OnSetEditableSelectionOffsets(start, end); | 47 OnSetEditableSelectionOffsets(start, end); |
48 } | 48 } |
49 | 49 |
50 void TestRenderFrame::ExtendSelectionAndDelete(int before, int after) { | 50 void TestRenderFrame::ExtendSelectionAndDelete(int before, int after) { |
51 OnExtendSelectionAndDelete(before, after); | 51 OnExtendSelectionAndDelete(before, after); |
52 } | 52 } |
53 | 53 |
| 54 void TestRenderFrame::DeleteSurroundingText(int before, int after) { |
| 55 OnDeleteSurroundingText(before, after); |
| 56 } |
| 57 |
54 void TestRenderFrame::Unselect() { | 58 void TestRenderFrame::Unselect() { |
55 OnUnselect(); | 59 OnUnselect(); |
56 } | 60 } |
57 | 61 |
58 void TestRenderFrame::SetAccessibilityMode(AccessibilityMode new_mode) { | 62 void TestRenderFrame::SetAccessibilityMode(AccessibilityMode new_mode) { |
59 OnSetAccessibilityMode(new_mode); | 63 OnSetAccessibilityMode(new_mode); |
60 } | 64 } |
61 | 65 |
62 void TestRenderFrame::SetCompositionFromExistingText( | 66 void TestRenderFrame::SetCompositionFromExistingText( |
63 int start, | 67 int start, |
64 int end, | 68 int end, |
65 const std::vector<blink::WebCompositionUnderline>& underlines) { | 69 const std::vector<blink::WebCompositionUnderline>& underlines) { |
66 OnSetCompositionFromExistingText(start, end, underlines); | 70 OnSetCompositionFromExistingText(start, end, underlines); |
67 } | 71 } |
68 | 72 |
69 } // namespace content | 73 } // namespace content |
OLD | NEW |