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 27 matching lines...) Expand all Loading... |
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 Unselect(); | 41 void Unselect(); |
42 void SetAccessibilityMode(AccessibilityMode new_mode); | 42 void SetAccessibilityMode(AccessibilityMode new_mode); |
43 void SetCompositionFromExistingText( | 43 void SetCompositionFromExistingText( |
44 int start, | 44 int start, |
45 int end, | 45 int end, |
46 const std::vector<blink::WebCompositionUnderline>& underlines); | 46 const std::vector<blink::WebCompositionUnderline>& underlines); |
47 | 47 |
| 48 blink::WebNavigationPolicy decidePolicyForNavigation( |
| 49 const blink::WebFrameClient::NavigationPolicyInfo& info) override; |
| 50 |
48 private: | 51 private: |
49 explicit TestRenderFrame(const RenderFrameImpl::CreateParams& params); | 52 explicit TestRenderFrame(const RenderFrameImpl::CreateParams& params); |
50 DISALLOW_COPY_AND_ASSIGN(TestRenderFrame); | 53 DISALLOW_COPY_AND_ASSIGN(TestRenderFrame); |
51 }; | 54 }; |
52 | 55 |
53 } // namespace content | 56 } // namespace content |
54 | 57 |
55 #endif // CONTENT_TEST_TEST_RENDER_FRAME_H_ | 58 #endif // CONTENT_TEST_TEST_RENDER_FRAME_H_ |
OLD | NEW |