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

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: Same to patch set 13, except adding a test for multiple nodes. Created 4 years, 6 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 781 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 int id, 792 int id,
793 bool notify_result, 793 bool notify_result,
794 int world_id); 794 int world_id);
795 void OnVisualStateRequest(uint64_t key); 795 void OnVisualStateRequest(uint64_t key);
796 void OnSetEditableSelectionOffsets(int start, int end); 796 void OnSetEditableSelectionOffsets(int start, int end);
797 void OnSetCompositionFromExistingText( 797 void OnSetCompositionFromExistingText(
798 int start, int end, 798 int start, int end,
799 const std::vector<blink::WebCompositionUnderline>& underlines); 799 const std::vector<blink::WebCompositionUnderline>& underlines);
800 void OnExecuteNoValueEditCommand(const std::string& name); 800 void OnExecuteNoValueEditCommand(const std::string& name);
801 void OnExtendSelectionAndDelete(int before, int after); 801 void OnExtendSelectionAndDelete(int before, int after);
802 void OnDeleteSurroundingText(int before, int after);
802 void OnReload(bool bypass_cache); 803 void OnReload(bool bypass_cache);
803 void OnReloadLoFiImages(); 804 void OnReloadLoFiImages();
804 void OnTextSurroundingSelectionRequest(uint32_t max_length); 805 void OnTextSurroundingSelectionRequest(uint32_t max_length);
805 void OnSetAccessibilityMode(AccessibilityMode new_mode); 806 void OnSetAccessibilityMode(AccessibilityMode new_mode);
806 void OnSnapshotAccessibilityTree(int callback_id); 807 void OnSnapshotAccessibilityTree(int callback_id);
807 void OnUpdateOpener(int opener_routing_id); 808 void OnUpdateOpener(int opener_routing_id);
808 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); 809 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags);
809 void OnSetFrameOwnerProperties( 810 void OnSetFrameOwnerProperties(
810 const blink::WebFrameOwnerProperties& frame_owner_properties); 811 const blink::WebFrameOwnerProperties& frame_owner_properties);
811 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); 812 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id);
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
1287 mojom::FrameHostPtr frame_host_; 1288 mojom::FrameHostPtr frame_host_;
1288 1289
1289 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1290 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1290 1291
1291 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1292 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1292 }; 1293 };
1293 1294
1294 } // namespace content 1295 } // namespace content
1295 1296
1296 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1297 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698