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 #ifndef CONTENT_TEST_TEST_RENDER_FRAME_H_ | 5 #ifndef CONTENT_TEST_TEST_RENDER_FRAME_H_ |
6 #define CONTENT_TEST_TEST_RENDER_FRAME_H_ | 6 #define CONTENT_TEST_TEST_RENDER_FRAME_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "content/renderer/render_frame_impl.h" | 9 #include "content/renderer/render_frame_impl.h" |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... |
31 } | 31 } |
32 | 32 |
33 void Navigate(const CommonNavigationParams& common_params, | 33 void Navigate(const CommonNavigationParams& common_params, |
34 const StartNavigationParams& start_params, | 34 const StartNavigationParams& start_params, |
35 const RequestNavigationParams& request_params); | 35 const RequestNavigationParams& request_params); |
36 void SwapOut(int proxy_routing_id, | 36 void SwapOut(int proxy_routing_id, |
37 bool is_loading, | 37 bool is_loading, |
38 const FrameReplicationState& replicated_frame_state); | 38 const FrameReplicationState& replicated_frame_state); |
39 void SetEditableSelectionOffsets(int start, int end); | 39 void SetEditableSelectionOffsets(int start, int end); |
40 void ExtendSelectionAndDelete(int before, int after); | 40 void ExtendSelectionAndDelete(int before, int after); |
| 41 void DeleteSurroundingText(int before, int after); |
41 void Unselect(); | 42 void Unselect(); |
42 void SetAccessibilityMode(AccessibilityMode new_mode); | 43 void SetAccessibilityMode(AccessibilityMode new_mode); |
43 void SetCompositionFromExistingText( | 44 void SetCompositionFromExistingText( |
44 int start, | 45 int start, |
45 int end, | 46 int end, |
46 const std::vector<blink::WebCompositionUnderline>& underlines); | 47 const std::vector<blink::WebCompositionUnderline>& underlines); |
47 | 48 |
48 private: | 49 private: |
49 explicit TestRenderFrame(const RenderFrameImpl::CreateParams& params); | 50 explicit TestRenderFrame(const RenderFrameImpl::CreateParams& params); |
50 DISALLOW_COPY_AND_ASSIGN(TestRenderFrame); | 51 DISALLOW_COPY_AND_ASSIGN(TestRenderFrame); |
51 }; | 52 }; |
52 | 53 |
53 } // namespace content | 54 } // namespace content |
54 | 55 |
55 #endif // CONTENT_TEST_TEST_RENDER_FRAME_H_ | 56 #endif // CONTENT_TEST_TEST_RENDER_FRAME_H_ |
OLD | NEW |