| 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 18 matching lines...) Expand all Loading... |
| 29 const blink::WebHistoryItem& current_history_item() { | 29 const blink::WebHistoryItem& current_history_item() { |
| 30 return current_history_item_; | 30 return current_history_item_; |
| 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); | |
| 40 void ExtendSelectionAndDelete(int before, int after); | |
| 41 void Unselect(); | 39 void Unselect(); |
| 42 void SetAccessibilityMode(AccessibilityMode new_mode); | 40 void SetAccessibilityMode(AccessibilityMode new_mode); |
| 43 void SetCompositionFromExistingText( | |
| 44 int start, | |
| 45 int end, | |
| 46 const std::vector<blink::WebCompositionUnderline>& underlines); | |
| 47 | 41 |
| 48 private: | 42 private: |
| 49 explicit TestRenderFrame(const RenderFrameImpl::CreateParams& params); | 43 explicit TestRenderFrame(const RenderFrameImpl::CreateParams& params); |
| 50 DISALLOW_COPY_AND_ASSIGN(TestRenderFrame); | 44 DISALLOW_COPY_AND_ASSIGN(TestRenderFrame); |
| 51 }; | 45 }; |
| 52 | 46 |
| 53 } // namespace content | 47 } // namespace content |
| 54 | 48 |
| 55 #endif // CONTENT_TEST_TEST_RENDER_FRAME_H_ | 49 #endif // CONTENT_TEST_TEST_RENDER_FRAME_H_ |
| OLD | NEW |