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

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

Issue 1832803002: Make EnableViewSourceMode a FrameMsg (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 8 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698