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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 #endif | 708 #endif |
709 | 709 |
710 void OnCommitNavigation(const ResourceResponseHead& response, | 710 void OnCommitNavigation(const ResourceResponseHead& response, |
711 const GURL& stream_url, | 711 const GURL& stream_url, |
712 const CommonNavigationParams& common_params, | 712 const CommonNavigationParams& common_params, |
713 const RequestNavigationParams& request_params); | 713 const RequestNavigationParams& request_params); |
714 void OnFailedNavigation(const CommonNavigationParams& common_params, | 714 void OnFailedNavigation(const CommonNavigationParams& common_params, |
715 const RequestNavigationParams& request_params, | 715 const RequestNavigationParams& request_params, |
716 bool has_stale_copy_in_cache, | 716 bool has_stale_copy_in_cache, |
717 int error_code); | 717 int error_code); |
| 718 void OnGetSavableResourceLinks(); |
718 | 719 |
719 // Virtual since overridden by WebTestProxy for layout tests. | 720 // Virtual since overridden by WebTestProxy for layout tests. |
720 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( | 721 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( |
721 RenderFrame* render_frame, | 722 RenderFrame* render_frame, |
722 const NavigationPolicyInfo& info); | 723 const NavigationPolicyInfo& info); |
723 void OpenURL(blink::WebFrame* frame, | 724 void OpenURL(blink::WebFrame* frame, |
724 const GURL& url, | 725 const GURL& url, |
725 const Referrer& referrer, | 726 const Referrer& referrer, |
726 blink::WebNavigationPolicy policy); | 727 blink::WebNavigationPolicy policy); |
727 | 728 |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1043 #endif | 1044 #endif |
1044 | 1045 |
1045 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1046 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1046 | 1047 |
1047 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1048 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1048 }; | 1049 }; |
1049 | 1050 |
1050 } // namespace content | 1051 } // namespace content |
1051 | 1052 |
1052 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1053 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |