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

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: Use a different method to handle "\n" node Created 4 years, 5 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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 int id, 806 int id,
807 bool notify_result, 807 bool notify_result,
808 int world_id); 808 int world_id);
809 void OnVisualStateRequest(uint64_t key); 809 void OnVisualStateRequest(uint64_t key);
810 void OnSetEditableSelectionOffsets(int start, int end); 810 void OnSetEditableSelectionOffsets(int start, int end);
811 void OnSetCompositionFromExistingText( 811 void OnSetCompositionFromExistingText(
812 int start, int end, 812 int start, int end,
813 const std::vector<blink::WebCompositionUnderline>& underlines); 813 const std::vector<blink::WebCompositionUnderline>& underlines);
814 void OnExecuteNoValueEditCommand(const std::string& name); 814 void OnExecuteNoValueEditCommand(const std::string& name);
815 void OnExtendSelectionAndDelete(int before, int after); 815 void OnExtendSelectionAndDelete(int before, int after);
816 void OnDeleteSurroundingText(int before, int after);
816 void OnReload(bool bypass_cache); 817 void OnReload(bool bypass_cache);
817 void OnReloadLoFiImages(); 818 void OnReloadLoFiImages();
818 void OnTextSurroundingSelectionRequest(uint32_t max_length); 819 void OnTextSurroundingSelectionRequest(uint32_t max_length);
819 void OnSetAccessibilityMode(AccessibilityMode new_mode); 820 void OnSetAccessibilityMode(AccessibilityMode new_mode);
820 void OnSnapshotAccessibilityTree(int callback_id); 821 void OnSnapshotAccessibilityTree(int callback_id);
821 void OnUpdateOpener(int opener_routing_id); 822 void OnUpdateOpener(int opener_routing_id);
822 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); 823 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags);
823 void OnSetFrameOwnerProperties( 824 void OnSetFrameOwnerProperties(
824 const FrameOwnerProperties& frame_owner_properties); 825 const FrameOwnerProperties& frame_owner_properties);
825 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); 826 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id);
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
1292 mojom::FrameHostPtr frame_host_; 1293 mojom::FrameHostPtr frame_host_;
1293 1294
1294 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1295 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1295 1296
1296 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1297 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1297 }; 1298 };
1298 1299
1299 } // namespace content 1300 } // namespace content
1300 1301
1301 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1302 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698