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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 1959183002: Multi-Process Find-in-Page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments by nick@, and a bit of cleanup. Created 4 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_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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 bool has_stale_copy_in_cache, 801 bool has_stale_copy_in_cache,
802 int error_code); 802 int error_code);
803 void OnGetSavableResourceLinks(); 803 void OnGetSavableResourceLinks();
804 void OnGetSerializedHtmlWithLocalLinks( 804 void OnGetSerializedHtmlWithLocalLinks(
805 const std::map<GURL, base::FilePath>& url_to_local_path, 805 const std::map<GURL, base::FilePath>& url_to_local_path,
806 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); 806 const std::map<int, base::FilePath>& frame_routing_id_to_local_path);
807 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); 807 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params);
808 void OnFind(int request_id, 808 void OnFind(int request_id,
809 const base::string16& search_text, 809 const base::string16& search_text,
810 const blink::WebFindOptions& options); 810 const blink::WebFindOptions& options);
811 void OnClearActiveFindMatch();
811 void OnStopFinding(StopFindAction action); 812 void OnStopFinding(StopFindAction action);
812 void OnEnableViewSourceMode(); 813 void OnEnableViewSourceMode();
813 void OnSuppressFurtherDialogs(); 814 void OnSuppressFurtherDialogs();
814 #if defined(OS_ANDROID) 815 #if defined(OS_ANDROID)
815 void OnActivateNearestFindResult(int request_id, float x, float y); 816 void OnActivateNearestFindResult(int request_id, float x, float y);
817 void OnGetNearestFindResult(int request_id, float x, float y);
816 void OnFindMatchRects(int current_version); 818 void OnFindMatchRects(int current_version);
817 void OnSelectPopupMenuItems(bool canceled, 819 void OnSelectPopupMenuItems(bool canceled,
818 const std::vector<int>& selected_indices); 820 const std::vector<int>& selected_indices);
819 #elif defined(OS_MACOSX) 821 #elif defined(OS_MACOSX)
820 void OnSelectPopupMenuItem(int selected_index); 822 void OnSelectPopupMenuItem(int selected_index);
821 void OnCopyToFindPboard(); 823 void OnCopyToFindPboard();
822 #endif 824 #endif
823 825
824 // Requests that the browser process navigates to |url|. If 826 // Requests that the browser process navigates to |url|. If
825 // |is_history_navigation_in_new_child| is true, the browser process should 827 // |is_history_navigation_in_new_child| is true, the browser process should
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
1235 #endif 1237 #endif
1236 1238
1237 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1239 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1238 1240
1239 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1241 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1240 }; 1242 };
1241 1243
1242 } // namespace content 1244 } // namespace content
1243 1245
1244 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1246 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698