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