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

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: deleteContents doesn’t work well for multiple nodes. Created 4 years, 7 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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 int id, 778 int id,
779 bool notify_result, 779 bool notify_result,
780 int world_id); 780 int world_id);
781 void OnVisualStateRequest(uint64_t key); 781 void OnVisualStateRequest(uint64_t key);
782 void OnSetEditableSelectionOffsets(int start, int end); 782 void OnSetEditableSelectionOffsets(int start, int end);
783 void OnSetCompositionFromExistingText( 783 void OnSetCompositionFromExistingText(
784 int start, int end, 784 int start, int end,
785 const std::vector<blink::WebCompositionUnderline>& underlines); 785 const std::vector<blink::WebCompositionUnderline>& underlines);
786 void OnExecuteNoValueEditCommand(const std::string& name); 786 void OnExecuteNoValueEditCommand(const std::string& name);
787 void OnExtendSelectionAndDelete(int before, int after); 787 void OnExtendSelectionAndDelete(int before, int after);
788 void OnDeleteSurroundingText(int before, int after);
788 void OnReload(bool bypass_cache); 789 void OnReload(bool bypass_cache);
789 void OnReloadLoFiImages(); 790 void OnReloadLoFiImages();
790 void OnTextSurroundingSelectionRequest(uint32_t max_length); 791 void OnTextSurroundingSelectionRequest(uint32_t max_length);
791 void OnSetAccessibilityMode(AccessibilityMode new_mode); 792 void OnSetAccessibilityMode(AccessibilityMode new_mode);
792 void OnSnapshotAccessibilityTree(int callback_id); 793 void OnSnapshotAccessibilityTree(int callback_id);
793 void OnUpdateOpener(int opener_routing_id); 794 void OnUpdateOpener(int opener_routing_id);
794 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); 795 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags);
795 void OnSetFrameOwnerProperties( 796 void OnSetFrameOwnerProperties(
796 const blink::WebFrameOwnerProperties& frame_owner_properties); 797 const blink::WebFrameOwnerProperties& frame_owner_properties);
797 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); 798 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id);
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 #endif 1247 #endif
1247 1248
1248 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1249 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1249 1250
1250 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1251 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1251 }; 1252 };
1252 1253
1253 } // namespace content 1254 } // namespace content
1254 1255
1255 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1256 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698