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

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: Update TextSelection for non-user initiated events Created 3 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_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);
794 void OnFocusedNodeChanged(bool is_editable_element, 795 void OnFocusedNodeChanged(bool is_editable_element,
795 const gfx::Rect& bounds_in_frame_widget); 796 const gfx::Rect& bounds_in_frame_widget);
796 void OnSetHasReceivedUserGesture(); 797 void OnSetHasReceivedUserGesture();
797 void OnSetDevToolsFrameId(const std::string& devtools_frame_id); 798 void OnSetDevToolsFrameId(const std::string& devtools_frame_id);
798 799
799 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU) 800 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU)
800 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params); 801 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params);
801 void OnHidePopup(); 802 void OnHidePopup();
802 #endif 803 #endif
803 #if defined(OS_ANDROID) 804 #if defined(OS_ANDROID)
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
1233 1234
1234 // NOTE: This must be the last member. 1235 // NOTE: This must be the last member.
1235 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1236 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1236 1237
1237 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1238 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1238 }; 1239 };
1239 1240
1240 } // namespace content 1241 } // namespace content
1241 1242
1242 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1243 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698