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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2856093003: Update TextSelection for non-user initiated events (Closed)
Patch Set: Created 3 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_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 void OnDidStartLoading(bool to_different_document); 778 void OnDidStartLoading(bool to_different_document);
779 void OnDidStopLoading(); 779 void OnDidStopLoading();
780 void OnDidChangeLoadProgress(double load_progress); 780 void OnDidChangeLoadProgress(double load_progress);
781 void OnSerializeAsMHTMLResponse( 781 void OnSerializeAsMHTMLResponse(
782 int job_id, 782 int job_id,
783 MhtmlSaveStatus save_status, 783 MhtmlSaveStatus save_status,
784 const std::set<std::string>& digests_of_uris_of_serialized_resources, 784 const std::set<std::string>& digests_of_uris_of_serialized_resources,
785 base::TimeDelta renderer_main_thread_time); 785 base::TimeDelta renderer_main_thread_time);
786 void OnSelectionChanged(const base::string16& text, 786 void OnSelectionChanged(const base::string16& text,
787 uint32_t offset, 787 uint32_t offset,
788 const gfx::Range& range); 788 const gfx::Range& range,
789 bool user_initiated);
789 void OnFocusedNodeChanged(bool is_editable_element, 790 void OnFocusedNodeChanged(bool is_editable_element,
790 const gfx::Rect& bounds_in_frame_widget); 791 const gfx::Rect& bounds_in_frame_widget);
791 void OnSetHasReceivedUserGesture(); 792 void OnSetHasReceivedUserGesture();
792 void OnSetDevToolsFrameId(const std::string& devtools_frame_id); 793 void OnSetDevToolsFrameId(const std::string& devtools_frame_id);
793 794
794 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU) 795 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU)
795 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params); 796 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params);
796 void OnHidePopup(); 797 void OnHidePopup();
797 #endif 798 #endif
798 #if defined(OS_ANDROID) 799 #if defined(OS_ANDROID)
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
1218 1219
1219 // NOTE: This must be the last member. 1220 // NOTE: This must be the last member.
1220 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1221 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1221 1222
1222 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1223 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1223 }; 1224 };
1224 1225
1225 } // namespace content 1226 } // namespace content
1226 1227
1227 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1228 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698