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

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: change int to size_t Created 4 years, 2 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 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 int id, 811 int id,
812 bool notify_result, 812 bool notify_result,
813 int world_id); 813 int world_id);
814 void OnVisualStateRequest(uint64_t key); 814 void OnVisualStateRequest(uint64_t key);
815 void OnSetEditableSelectionOffsets(int start, int end); 815 void OnSetEditableSelectionOffsets(int start, int end);
816 void OnSetCompositionFromExistingText( 816 void OnSetCompositionFromExistingText(
817 int start, int end, 817 int start, int end,
818 const std::vector<blink::WebCompositionUnderline>& underlines); 818 const std::vector<blink::WebCompositionUnderline>& underlines);
819 void OnExecuteNoValueEditCommand(const std::string& name); 819 void OnExecuteNoValueEditCommand(const std::string& name);
820 void OnExtendSelectionAndDelete(int before, int after); 820 void OnExtendSelectionAndDelete(int before, int after);
821 void OnDeleteSurroundingText(size_t before, size_t after);
821 void OnReload(bool bypass_cache); 822 void OnReload(bool bypass_cache);
822 void OnReloadLoFiImages(); 823 void OnReloadLoFiImages();
823 void OnTextSurroundingSelectionRequest(uint32_t max_length); 824 void OnTextSurroundingSelectionRequest(uint32_t max_length);
824 void OnSetAccessibilityMode(AccessibilityMode new_mode); 825 void OnSetAccessibilityMode(AccessibilityMode new_mode);
825 void OnSnapshotAccessibilityTree(int callback_id); 826 void OnSnapshotAccessibilityTree(int callback_id);
826 void OnUpdateOpener(int opener_routing_id); 827 void OnUpdateOpener(int opener_routing_id);
827 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); 828 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags);
828 void OnSetFrameOwnerProperties( 829 void OnSetFrameOwnerProperties(
829 const FrameOwnerProperties& frame_owner_properties); 830 const FrameOwnerProperties& frame_owner_properties);
830 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); 831 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id);
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
1322 bool name_changed_before_first_commit_ = false; 1323 bool name_changed_before_first_commit_ = false;
1323 1324
1324 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1325 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1325 1326
1326 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1327 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1327 }; 1328 };
1328 1329
1329 } // namespace content 1330 } // namespace content
1330 1331
1331 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1332 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698