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 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 bool has_stale_copy_in_cache, | 816 bool has_stale_copy_in_cache, |
817 int error_code); | 817 int error_code); |
818 void OnGetSavableResourceLinks(); | 818 void OnGetSavableResourceLinks(); |
819 void OnGetSerializedHtmlWithLocalLinks( | 819 void OnGetSerializedHtmlWithLocalLinks( |
820 const std::map<GURL, base::FilePath>& url_to_local_path, | 820 const std::map<GURL, base::FilePath>& url_to_local_path, |
821 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); | 821 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); |
822 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); | 822 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); |
823 void OnFind(int request_id, | 823 void OnFind(int request_id, |
824 const base::string16& search_text, | 824 const base::string16& search_text, |
825 const blink::WebFindOptions& options); | 825 const blink::WebFindOptions& options); |
| 826 void OnClearActiveFindMatch(); |
826 void OnStopFinding(StopFindAction action); | 827 void OnStopFinding(StopFindAction action); |
827 void OnEnableViewSourceMode(); | 828 void OnEnableViewSourceMode(); |
828 void OnSuppressFurtherDialogs(); | 829 void OnSuppressFurtherDialogs(); |
829 #if defined(OS_ANDROID) | 830 #if defined(OS_ANDROID) |
830 void OnActivateNearestFindResult(int request_id, float x, float y); | 831 void OnActivateNearestFindResult(int request_id, float x, float y); |
| 832 void OnGetNearestFindResult(int request_id, float x, float y); |
831 void OnFindMatchRects(int current_version); | 833 void OnFindMatchRects(int current_version); |
832 void OnSelectPopupMenuItems(bool canceled, | 834 void OnSelectPopupMenuItems(bool canceled, |
833 const std::vector<int>& selected_indices); | 835 const std::vector<int>& selected_indices); |
834 #elif defined(OS_MACOSX) | 836 #elif defined(OS_MACOSX) |
835 void OnSelectPopupMenuItem(int selected_index); | 837 void OnSelectPopupMenuItem(int selected_index); |
836 void OnCopyToFindPboard(); | 838 void OnCopyToFindPboard(); |
837 #endif | 839 #endif |
838 | 840 |
839 // Requests that the browser process navigates to |url|. If | 841 // Requests that the browser process navigates to |url|. If |
840 // |is_history_navigation_in_new_child| is true, the browser process should | 842 // |is_history_navigation_in_new_child| is true, the browser process should |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1255 #endif | 1257 #endif |
1256 | 1258 |
1257 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1259 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1258 | 1260 |
1259 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1261 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1260 }; | 1262 }; |
1261 | 1263 |
1262 } // namespace content | 1264 } // namespace content |
1263 | 1265 |
1264 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1266 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |