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