Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Side by Side Diff: content/test/test_render_frame.h

Issue 1889053003: Fix InputConnection.deleteSurroundingText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change back to patch set #25 Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/test/test_render_frame.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/test/test_render_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698