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 void Navigate(const CommonNavigationParams& common_params, | 32 void Navigate(const CommonNavigationParams& common_params, |
33 const StartNavigationParams& start_params, | 33 const StartNavigationParams& start_params, |
34 const RequestNavigationParams& request_params); | 34 const RequestNavigationParams& request_params); |
35 void SwapOut(int proxy_routing_id, | 35 void SwapOut(int proxy_routing_id, |
36 bool is_loading, | 36 bool is_loading, |
37 const FrameReplicationState& replicated_frame_state); | 37 const FrameReplicationState& replicated_frame_state); |
38 void SetEditableSelectionOffsets(int start, int end); | 38 void SetEditableSelectionOffsets(int start, int end); |
39 void ExtendSelectionAndDelete(int before, int after); | 39 void ExtendSelectionAndDelete(int before, int after); |
40 void DeleteSurroundingText(int before, int after); | 40 void DeleteSurroundingText(int before, int after); |
| 41 void DeleteSurroundingTextInCodePoints(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 blink::WebNavigationPolicy decidePolicyForNavigation( | 49 blink::WebNavigationPolicy decidePolicyForNavigation( |
49 const blink::WebFrameClient::NavigationPolicyInfo& info) override; | 50 const blink::WebFrameClient::NavigationPolicyInfo& info) override; |
50 | 51 |
51 private: | 52 private: |
52 explicit TestRenderFrame(const RenderFrameImpl::CreateParams& params); | 53 explicit TestRenderFrame(const RenderFrameImpl::CreateParams& params); |
53 DISALLOW_COPY_AND_ASSIGN(TestRenderFrame); | 54 DISALLOW_COPY_AND_ASSIGN(TestRenderFrame); |
54 }; | 55 }; |
55 | 56 |
56 } // namespace content | 57 } // namespace content |
57 | 58 |
58 #endif // CONTENT_TEST_TEST_RENDER_FRAME_H_ | 59 #endif // CONTENT_TEST_TEST_RENDER_FRAME_H_ |
OLD | NEW |