| 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 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 786 int error_code); | 786 int error_code); |
| 787 void OnGetSavableResourceLinks(); | 787 void OnGetSavableResourceLinks(); |
| 788 void OnGetSerializedHtmlWithLocalLinks( | 788 void OnGetSerializedHtmlWithLocalLinks( |
| 789 const std::map<GURL, base::FilePath>& url_to_local_path, | 789 const std::map<GURL, base::FilePath>& url_to_local_path, |
| 790 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); | 790 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); |
| 791 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); | 791 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); |
| 792 void OnFind(int request_id, | 792 void OnFind(int request_id, |
| 793 const base::string16& search_text, | 793 const base::string16& search_text, |
| 794 const blink::WebFindOptions& options); | 794 const blink::WebFindOptions& options); |
| 795 void OnStopFinding(StopFindAction action); | 795 void OnStopFinding(StopFindAction action); |
| 796 void OnEnableViewSourceMode(); |
| 796 #if defined(OS_ANDROID) | 797 #if defined(OS_ANDROID) |
| 797 void OnActivateNearestFindResult(int request_id, float x, float y); | 798 void OnActivateNearestFindResult(int request_id, float x, float y); |
| 798 void OnFindMatchRects(int current_version); | 799 void OnFindMatchRects(int current_version); |
| 799 void OnSelectPopupMenuItems(bool canceled, | 800 void OnSelectPopupMenuItems(bool canceled, |
| 800 const std::vector<int>& selected_indices); | 801 const std::vector<int>& selected_indices); |
| 801 #elif defined(OS_MACOSX) | 802 #elif defined(OS_MACOSX) |
| 802 void OnSelectPopupMenuItem(int selected_index); | 803 void OnSelectPopupMenuItem(int selected_index); |
| 803 void OnCopyToFindPboard(); | 804 void OnCopyToFindPboard(); |
| 804 #endif | 805 #endif |
| 805 | 806 |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1204 #endif | 1205 #endif |
| 1205 | 1206 |
| 1206 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1207 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1207 | 1208 |
| 1208 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1209 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1209 }; | 1210 }; |
| 1210 | 1211 |
| 1211 } // namespace content | 1212 } // namespace content |
| 1212 | 1213 |
| 1213 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1214 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |