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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 1889053003: Fix InputConnection.deleteSurroundingText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed the function for multi-code-text, and added some tests. Created 4 years, 8 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 int id, 761 int id,
762 bool notify_result, 762 bool notify_result,
763 int world_id); 763 int world_id);
764 void OnVisualStateRequest(uint64_t key); 764 void OnVisualStateRequest(uint64_t key);
765 void OnSetEditableSelectionOffsets(int start, int end); 765 void OnSetEditableSelectionOffsets(int start, int end);
766 void OnSetCompositionFromExistingText( 766 void OnSetCompositionFromExistingText(
767 int start, int end, 767 int start, int end,
768 const std::vector<blink::WebCompositionUnderline>& underlines); 768 const std::vector<blink::WebCompositionUnderline>& underlines);
769 void OnExecuteNoValueEditCommand(const std::string& name); 769 void OnExecuteNoValueEditCommand(const std::string& name);
770 void OnExtendSelectionAndDelete(int before, int after); 770 void OnExtendSelectionAndDelete(int before, int after);
771 void OnDeleteSurroundingText(int before, int after);
771 void OnReload(bool bypass_cache); 772 void OnReload(bool bypass_cache);
772 void OnReloadLoFiImages(); 773 void OnReloadLoFiImages();
773 void OnTextSurroundingSelectionRequest(uint32_t max_length); 774 void OnTextSurroundingSelectionRequest(uint32_t max_length);
774 void OnSetAccessibilityMode(AccessibilityMode new_mode); 775 void OnSetAccessibilityMode(AccessibilityMode new_mode);
775 void OnSnapshotAccessibilityTree(int callback_id); 776 void OnSnapshotAccessibilityTree(int callback_id);
776 void OnUpdateOpener(int opener_routing_id); 777 void OnUpdateOpener(int opener_routing_id);
777 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); 778 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags);
778 void OnSetFrameOwnerProperties( 779 void OnSetFrameOwnerProperties(
779 const blink::WebFrameOwnerProperties& frame_owner_properties); 780 const blink::WebFrameOwnerProperties& frame_owner_properties);
780 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); 781 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id);
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
1220 std::unique_ptr<FrameBlameContext> blame_context_; 1221 std::unique_ptr<FrameBlameContext> blame_context_;
1221 1222
1222 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1223 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1223 1224
1224 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1225 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1225 }; 1226 };
1226 1227
1227 } // namespace content 1228 } // namespace content
1228 1229
1229 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1230 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698