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

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 type of some parameters, and added some comments. 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 751 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 int id, 762 int id,
763 bool notify_result, 763 bool notify_result,
764 int world_id); 764 int world_id);
765 void OnVisualStateRequest(uint64_t key); 765 void OnVisualStateRequest(uint64_t key);
766 void OnSetEditableSelectionOffsets(int start, int end); 766 void OnSetEditableSelectionOffsets(int start, int end);
767 void OnSetCompositionFromExistingText( 767 void OnSetCompositionFromExistingText(
768 int start, int end, 768 int start, int end,
769 const std::vector<blink::WebCompositionUnderline>& underlines); 769 const std::vector<blink::WebCompositionUnderline>& underlines);
770 void OnExecuteNoValueEditCommand(const std::string& name); 770 void OnExecuteNoValueEditCommand(const std::string& name);
771 void OnExtendSelectionAndDelete(int before, int after); 771 void OnExtendSelectionAndDelete(int before, int after);
772 void OnDeleteSurroundingText(int before, int after);
772 void OnReload(bool bypass_cache); 773 void OnReload(bool bypass_cache);
773 void OnReloadLoFiImages(); 774 void OnReloadLoFiImages();
774 void OnTextSurroundingSelectionRequest(uint32_t max_length); 775 void OnTextSurroundingSelectionRequest(uint32_t max_length);
775 void OnSetAccessibilityMode(AccessibilityMode new_mode); 776 void OnSetAccessibilityMode(AccessibilityMode new_mode);
776 void OnSnapshotAccessibilityTree(int callback_id); 777 void OnSnapshotAccessibilityTree(int callback_id);
777 void OnUpdateOpener(int opener_routing_id); 778 void OnUpdateOpener(int opener_routing_id);
778 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); 779 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags);
779 void OnSetFrameOwnerProperties( 780 void OnSetFrameOwnerProperties(
780 const blink::WebFrameOwnerProperties& frame_owner_properties); 781 const blink::WebFrameOwnerProperties& frame_owner_properties);
781 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); 782 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id);
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
1223 std::unique_ptr<FrameBlameContext> blame_context_; 1224 std::unique_ptr<FrameBlameContext> blame_context_;
1224 1225
1225 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1226 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1226 1227
1227 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1228 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1228 }; 1229 };
1229 1230
1230 } // namespace content 1231 } // namespace content
1231 1232
1232 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1233 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698