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 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 #endif | 701 #endif |
702 | 702 |
703 void OnCommitNavigation(const ResourceResponseHead& response, | 703 void OnCommitNavigation(const ResourceResponseHead& response, |
704 const GURL& stream_url, | 704 const GURL& stream_url, |
705 const CommonNavigationParams& common_params, | 705 const CommonNavigationParams& common_params, |
706 const RequestNavigationParams& request_params); | 706 const RequestNavigationParams& request_params); |
707 void OnFailedNavigation(const CommonNavigationParams& common_params, | 707 void OnFailedNavigation(const CommonNavigationParams& common_params, |
708 const RequestNavigationParams& request_params, | 708 const RequestNavigationParams& request_params, |
709 bool has_stale_copy_in_cache, | 709 bool has_stale_copy_in_cache, |
710 int error_code); | 710 int error_code); |
| 711 void OnGetSavableResourceLinks(); |
711 | 712 |
712 // Virtual since overridden by WebTestProxy for layout tests. | 713 // Virtual since overridden by WebTestProxy for layout tests. |
713 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( | 714 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( |
714 RenderFrame* render_frame, | 715 RenderFrame* render_frame, |
715 const NavigationPolicyInfo& info); | 716 const NavigationPolicyInfo& info); |
716 void OpenURL(blink::WebFrame* frame, | 717 void OpenURL(blink::WebFrame* frame, |
717 const GURL& url, | 718 const GURL& url, |
718 const Referrer& referrer, | 719 const Referrer& referrer, |
719 blink::WebNavigationPolicy policy); | 720 blink::WebNavigationPolicy policy); |
720 | 721 |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1036 #endif | 1037 #endif |
1037 | 1038 |
1038 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1039 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1039 | 1040 |
1040 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1041 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1041 }; | 1042 }; |
1042 | 1043 |
1043 } // namespace content | 1044 } // namespace content |
1044 | 1045 |
1045 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1046 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |