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

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

Issue 1502563004: Save-Page-As-Complete-Html: Each frame links to a distinct local file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no-url-deduping-for-frame-and-adding-save-item-id
Patch Set: Fixing building of dom_serializer_browsertest.cc :-/ Created 4 years, 11 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 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 void OnCommitNavigation(const ResourceResponseHead& response, 784 void OnCommitNavigation(const ResourceResponseHead& response,
785 const GURL& stream_url, 785 const GURL& stream_url,
786 const CommonNavigationParams& common_params, 786 const CommonNavigationParams& common_params,
787 const RequestNavigationParams& request_params); 787 const RequestNavigationParams& request_params);
788 void OnFailedNavigation(const CommonNavigationParams& common_params, 788 void OnFailedNavigation(const CommonNavigationParams& common_params,
789 const RequestNavigationParams& request_params, 789 const RequestNavigationParams& request_params,
790 bool has_stale_copy_in_cache, 790 bool has_stale_copy_in_cache,
791 int error_code); 791 int error_code);
792 void OnGetSavableResourceLinks(); 792 void OnGetSavableResourceLinks();
793 void OnGetSerializedHtmlWithLocalLinks( 793 void OnGetSerializedHtmlWithLocalLinks(
794 const std::map<GURL, base::FilePath>& url_to_local_path); 794 const std::map<GURL, base::FilePath>& url_to_local_path,
795 const std::map<int, base::FilePath>& frame_routing_id_to_local_path);
795 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); 796 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params);
796 797
797 // Requests that the browser process navigates to |url|. If 798 // Requests that the browser process navigates to |url|. If
798 // |is_history_navigation_in_new_child| is true, the browser process should 799 // |is_history_navigation_in_new_child| is true, the browser process should
799 // look for a matching FrameNavigationEntry in the last committed entry to use 800 // look for a matching FrameNavigationEntry in the last committed entry to use
800 // instead of |url|. 801 // instead of |url|.
801 void OpenURL(const GURL& url, 802 void OpenURL(const GURL& url,
802 const Referrer& referrer, 803 const Referrer& referrer,
803 blink::WebNavigationPolicy policy, 804 blink::WebNavigationPolicy policy,
804 bool should_replace_current_entry, 805 bool should_replace_current_entry,
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
1166 #endif 1167 #endif
1167 1168
1168 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1169 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1169 1170
1170 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1171 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1171 }; 1172 };
1172 1173
1173 } // namespace content 1174 } // namespace content
1174 1175
1175 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1176 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698