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

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

Issue 2901093003: Revert of 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 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 void OnDidStartLoading(bool to_different_document); 783 void OnDidStartLoading(bool to_different_document);
784 void OnDidStopLoading(); 784 void OnDidStopLoading();
785 void OnDidChangeLoadProgress(double load_progress); 785 void OnDidChangeLoadProgress(double load_progress);
786 void OnSerializeAsMHTMLResponse( 786 void OnSerializeAsMHTMLResponse(
787 int job_id, 787 int job_id,
788 MhtmlSaveStatus save_status, 788 MhtmlSaveStatus save_status,
789 const std::set<std::string>& digests_of_uris_of_serialized_resources, 789 const std::set<std::string>& digests_of_uris_of_serialized_resources,
790 base::TimeDelta renderer_main_thread_time); 790 base::TimeDelta renderer_main_thread_time);
791 void OnSelectionChanged(const base::string16& text, 791 void OnSelectionChanged(const base::string16& text,
792 uint32_t offset, 792 uint32_t offset,
793 const gfx::Range& range, 793 const gfx::Range& range);
794 bool user_initiated);
795 void OnFocusedNodeChanged(bool is_editable_element, 794 void OnFocusedNodeChanged(bool is_editable_element,
796 const gfx::Rect& bounds_in_frame_widget); 795 const gfx::Rect& bounds_in_frame_widget);
797 void OnSetHasReceivedUserGesture(); 796 void OnSetHasReceivedUserGesture();
798 void OnSetDevToolsFrameId(const std::string& devtools_frame_id); 797 void OnSetDevToolsFrameId(const std::string& devtools_frame_id);
799 798
800 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU) 799 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU)
801 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params); 800 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params);
802 void OnHidePopup(); 801 void OnHidePopup();
803 #endif 802 #endif
804 #if defined(OS_ANDROID) 803 #if defined(OS_ANDROID)
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
1234 1233
1235 // NOTE: This must be the last member. 1234 // NOTE: This must be the last member.
1236 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1235 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1237 1236
1238 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1237 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1239 }; 1238 };
1240 1239
1241 } // namespace content 1240 } // namespace content
1242 1241
1243 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1242 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698