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

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

Issue 1373573002: ABANDONED: OOPIFs: Moving stitching of local paths from renderer to browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@page-serialization-recursive-begone
Patch Set: Rebasing... Created 5 years, 2 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 <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 #if defined(ENABLE_WEBVR) 563 #if defined(ENABLE_WEBVR)
564 blink::WebVRClient* webVRClient() override; 564 blink::WebVRClient* webVRClient() override;
565 #endif 565 #endif
566 566
567 // WebMediaPlayerDelegate implementation: 567 // WebMediaPlayerDelegate implementation:
568 void DidPlay(blink::WebMediaPlayer* player) override; 568 void DidPlay(blink::WebMediaPlayer* player) override;
569 void DidPause(blink::WebMediaPlayer* player) override; 569 void DidPause(blink::WebMediaPlayer* player) override;
570 void PlayerGone(blink::WebMediaPlayer* player) override; 570 void PlayerGone(blink::WebMediaPlayer* player) override;
571 571
572 // WebPageSerializerClient implementation: 572 // WebPageSerializerClient implementation:
573 void didSerializeDataForFrame( 573 void writeHtmlFragment(const blink::WebCString& data) override;
574 const blink::WebURL& frame_url, 574 void writeLocalPathForSubframe(const blink::WebFrame& subframe) override;
575 const blink::WebCString& data, 575 void writeLocalPathForSavableResource(
576 blink::WebPageSerializerClient::PageSerializationStatus status) override; 576 const blink::WebURL& savable_resource_url) override;
577 void endOfFrame() override;
577 578
578 // Make this frame show an empty, unscriptable page. 579 // Make this frame show an empty, unscriptable page.
579 // TODO(nasko): Remove this method once swapped out state is no longer used. 580 // TODO(nasko): Remove this method once swapped out state is no longer used.
580 void NavigateToSwappedOutURL(); 581 void NavigateToSwappedOutURL();
581 582
582 // Binds this render frame's service registry. 583 // Binds this render frame's service registry.
583 void BindServiceRegistry( 584 void BindServiceRegistry(
584 mojo::InterfaceRequest<mojo::ServiceProvider> services, 585 mojo::InterfaceRequest<mojo::ServiceProvider> services,
585 mojo::ServiceProviderPtr exposed_services); 586 mojo::ServiceProviderPtr exposed_services);
586 587
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 724
724 void OnCommitNavigation(const ResourceResponseHead& response, 725 void OnCommitNavigation(const ResourceResponseHead& response,
725 const GURL& stream_url, 726 const GURL& stream_url,
726 const CommonNavigationParams& common_params, 727 const CommonNavigationParams& common_params,
727 const RequestNavigationParams& request_params); 728 const RequestNavigationParams& request_params);
728 void OnFailedNavigation(const CommonNavigationParams& common_params, 729 void OnFailedNavigation(const CommonNavigationParams& common_params,
729 const RequestNavigationParams& request_params, 730 const RequestNavigationParams& request_params,
730 bool has_stale_copy_in_cache, 731 bool has_stale_copy_in_cache,
731 int error_code); 732 int error_code);
732 void OnGetSavableResourceLinks(); 733 void OnGetSavableResourceLinks();
733 void OnGetSerializedHtmlWithLocalLinks( 734 void OnGetSerializedHtmlWithLocalLinks();
734 std::vector<GURL> original_urls,
735 std::vector<base::FilePath> equivalent_local_paths,
736 base::FilePath local_directory_path);
737 735
738 // Virtual since overridden by WebTestProxy for layout tests. 736 // Virtual since overridden by WebTestProxy for layout tests.
739 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( 737 virtual blink::WebNavigationPolicy DecidePolicyForNavigation(
740 RenderFrame* render_frame, 738 RenderFrame* render_frame,
741 const NavigationPolicyInfo& info); 739 const NavigationPolicyInfo& info);
742 void OpenURL(blink::WebFrame* frame, 740 void OpenURL(blink::WebFrame* frame,
743 const GURL& url, 741 const GURL& url,
744 const Referrer& referrer, 742 const Referrer& referrer,
745 blink::WebNavigationPolicy policy); 743 blink::WebNavigationPolicy policy);
746 744
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 #endif 1060 #endif
1063 1061
1064 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1062 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1065 1063
1066 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1064 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1067 }; 1065 };
1068 1066
1069 } // namespace content 1067 } // namespace content
1070 1068
1071 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1069 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698