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

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
« no previous file with comments | « content/renderer/dom_serializer_browsertest.cc ('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 <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 #if defined(ENABLE_WEBVR) 567 #if defined(ENABLE_WEBVR)
568 blink::WebVRClient* webVRClient() override; 568 blink::WebVRClient* webVRClient() override;
569 #endif 569 #endif
570 570
571 // WebMediaPlayerDelegate implementation: 571 // WebMediaPlayerDelegate implementation:
572 void DidPlay(blink::WebMediaPlayer* player) override; 572 void DidPlay(blink::WebMediaPlayer* player) override;
573 void DidPause(blink::WebMediaPlayer* player) override; 573 void DidPause(blink::WebMediaPlayer* player) override;
574 void PlayerGone(blink::WebMediaPlayer* player) override; 574 void PlayerGone(blink::WebMediaPlayer* player) override;
575 575
576 // WebPageSerializerClient implementation: 576 // WebPageSerializerClient implementation:
577 void didSerializeDataForFrame( 577 void writeHtmlFragment(const blink::WebCString& data) override;
578 const blink::WebURL& frame_url, 578 void writeLocalPathForSubframe(const blink::WebFrame& subframe) override;
579 const blink::WebCString& data, 579 void writeLocalPathForSavableResource(
580 blink::WebPageSerializerClient::PageSerializationStatus status) override; 580 const blink::WebURL& savable_resource_url) override;
581 void endOfFrame() override;
581 582
582 // Make this frame show an empty, unscriptable page. 583 // Make this frame show an empty, unscriptable page.
583 // TODO(nasko): Remove this method once swapped out state is no longer used. 584 // TODO(nasko): Remove this method once swapped out state is no longer used.
584 void NavigateToSwappedOutURL(); 585 void NavigateToSwappedOutURL();
585 586
586 // Binds this render frame's service registry. 587 // Binds this render frame's service registry.
587 void BindServiceRegistry( 588 void BindServiceRegistry(
588 mojo::InterfaceRequest<mojo::ServiceProvider> services, 589 mojo::InterfaceRequest<mojo::ServiceProvider> services,
589 mojo::ServiceProviderPtr exposed_services); 590 mojo::ServiceProviderPtr exposed_services);
590 591
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 728
728 void OnCommitNavigation(const ResourceResponseHead& response, 729 void OnCommitNavigation(const ResourceResponseHead& response,
729 const GURL& stream_url, 730 const GURL& stream_url,
730 const CommonNavigationParams& common_params, 731 const CommonNavigationParams& common_params,
731 const RequestNavigationParams& request_params); 732 const RequestNavigationParams& request_params);
732 void OnFailedNavigation(const CommonNavigationParams& common_params, 733 void OnFailedNavigation(const CommonNavigationParams& common_params,
733 const RequestNavigationParams& request_params, 734 const RequestNavigationParams& request_params,
734 bool has_stale_copy_in_cache, 735 bool has_stale_copy_in_cache,
735 int error_code); 736 int error_code);
736 void OnGetSavableResourceLinks(); 737 void OnGetSavableResourceLinks();
737 void OnGetSerializedHtmlWithLocalLinks( 738 void OnGetSerializedHtmlWithLocalLinks();
738 std::vector<GURL> original_urls,
739 std::vector<base::FilePath> equivalent_local_paths,
740 base::FilePath local_directory_path);
741 739
742 void OpenURL(const GURL& url, 740 void OpenURL(const GURL& url,
743 const Referrer& referrer, 741 const Referrer& referrer,
744 blink::WebNavigationPolicy policy, 742 blink::WebNavigationPolicy policy,
745 bool should_replace_current_entry); 743 bool should_replace_current_entry);
746 744
747 // Performs a navigation in the frame. This provides a unified function for 745 // Performs a navigation in the frame. This provides a unified function for
748 // the current code path and the browser-side navigation path (in 746 // the current code path and the browser-side navigation path (in
749 // development). Currently used by OnNavigate, with all *NavigationParams 747 // development). Currently used by OnNavigate, with all *NavigationParams
750 // provided by the browser. |stream_params| should be null. 748 // provided by the browser. |stream_params| should be null.
(...skipping 311 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
« no previous file with comments | « content/renderer/dom_serializer_browsertest.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698