OLD | NEW |
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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 bool has_stale_copy_in_cache, | 806 bool has_stale_copy_in_cache, |
807 int error_code); | 807 int error_code); |
808 void OnGetSavableResourceLinks(); | 808 void OnGetSavableResourceLinks(); |
809 void OnGetSerializedHtmlWithLocalLinks( | 809 void OnGetSerializedHtmlWithLocalLinks( |
810 const std::map<GURL, base::FilePath>& url_to_local_path, | 810 const std::map<GURL, base::FilePath>& url_to_local_path, |
811 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); | 811 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); |
812 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); | 812 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); |
813 void OnFind(int request_id, | 813 void OnFind(int request_id, |
814 const base::string16& search_text, | 814 const base::string16& search_text, |
815 const blink::WebFindOptions& options); | 815 const blink::WebFindOptions& options); |
| 816 void OnClearActiveFindMatch(); |
816 void OnStopFinding(StopFindAction action); | 817 void OnStopFinding(StopFindAction action); |
817 void OnEnableViewSourceMode(); | 818 void OnEnableViewSourceMode(); |
818 void OnSuppressFurtherDialogs(); | 819 void OnSuppressFurtherDialogs(); |
819 #if defined(OS_ANDROID) | 820 #if defined(OS_ANDROID) |
820 void OnActivateNearestFindResult(int request_id, float x, float y); | 821 void OnActivateNearestFindResult(int request_id, float x, float y); |
| 822 void OnGetNearestFindResult(int request_id, float x, float y); |
821 void OnFindMatchRects(int current_version); | 823 void OnFindMatchRects(int current_version); |
822 void OnSelectPopupMenuItems(bool canceled, | 824 void OnSelectPopupMenuItems(bool canceled, |
823 const std::vector<int>& selected_indices); | 825 const std::vector<int>& selected_indices); |
824 #elif defined(OS_MACOSX) | 826 #elif defined(OS_MACOSX) |
825 void OnSelectPopupMenuItem(int selected_index); | 827 void OnSelectPopupMenuItem(int selected_index); |
826 void OnCopyToFindPboard(); | 828 void OnCopyToFindPboard(); |
827 #endif | 829 #endif |
828 | 830 |
829 // Requests that the browser process navigates to |url|. If | 831 // Requests that the browser process navigates to |url|. If |
830 // |is_history_navigation_in_new_child| is true, the browser process should | 832 // |is_history_navigation_in_new_child| is true, the browser process should |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1237 #endif | 1239 #endif |
1238 | 1240 |
1239 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1241 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1240 | 1242 |
1241 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1243 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1242 }; | 1244 }; |
1243 | 1245 |
1244 } // namespace content | 1246 } // namespace content |
1245 | 1247 |
1246 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1248 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |