| 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 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 699 bool PrepareRenderViewForNavigation( | 699 bool PrepareRenderViewForNavigation( |
| 700 const GURL& url, | 700 const GURL& url, |
| 701 bool check_for_stale_navigation, | 701 bool check_for_stale_navigation, |
| 702 bool is_history_navigation, | 702 bool is_history_navigation, |
| 703 int current_history_list_offset, | 703 int current_history_list_offset, |
| 704 bool* is_reload, | 704 bool* is_reload, |
| 705 blink::WebURLRequest::CachePolicy* cache_policy); | 705 blink::WebURLRequest::CachePolicy* cache_policy); |
| 706 | 706 |
| 707 // PlzNavigate | 707 // PlzNavigate |
| 708 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents | 708 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents |
| 709 // of the WebURLRequest. | 709 // of the WebURLRequest. Returns whether a network request should be made for |
| 710 void BeginNavigation(blink::WebURLRequest* request); | 710 // the navigation. |
| 711 bool BeginNavigation(blink::WebURLRequest* request); |
| 712 |
| 713 // Loads a data url. |
| 714 void LoadDataURL(const CommonNavigationParams& params, |
| 715 blink::WebFrame* frame); |
| 711 | 716 |
| 712 // Returns the URL being loaded by the |frame_|'s request. | 717 // Returns the URL being loaded by the |frame_|'s request. |
| 713 GURL GetLoadingUrl() const; | 718 GURL GetLoadingUrl() const; |
| 714 | 719 |
| 715 #if defined(OS_ANDROID) | 720 #if defined(OS_ANDROID) |
| 716 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( | 721 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( |
| 717 const blink::WebURL& url, | 722 const blink::WebURL& url, |
| 718 blink::WebMediaPlayerClient* client, | 723 blink::WebMediaPlayerClient* client, |
| 719 media::MediaPermission* media_permission, | 724 media::MediaPermission* media_permission, |
| 720 blink::WebContentDecryptionModule* initial_cdm); | 725 blink::WebContentDecryptionModule* initial_cdm); |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 869 #endif | 874 #endif |
| 870 | 875 |
| 871 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 876 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 872 | 877 |
| 873 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 878 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 874 }; | 879 }; |
| 875 | 880 |
| 876 } // namespace content | 881 } // namespace content |
| 877 | 882 |
| 878 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 883 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |