| 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 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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. |
| 710 void BeginNavigation(blink::WebURLRequest* request); | 710 void BeginNavigation(blink::WebURLRequest* request); |
| 711 | 711 |
| 712 // Loads a data url. |
| 713 void LoadDataURL(const CommonNavigationParams& params, |
| 714 blink::WebFrame* frame); |
| 715 |
| 712 // Returns the URL being loaded by the |frame_|'s request. | 716 // Returns the URL being loaded by the |frame_|'s request. |
| 713 GURL GetLoadingUrl() const; | 717 GURL GetLoadingUrl() const; |
| 714 | 718 |
| 715 #if defined(OS_ANDROID) | 719 #if defined(OS_ANDROID) |
| 716 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( | 720 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( |
| 717 const blink::WebURL& url, | 721 const blink::WebURL& url, |
| 718 blink::WebMediaPlayerClient* client, | 722 blink::WebMediaPlayerClient* client, |
| 719 media::MediaPermission* media_permission, | 723 media::MediaPermission* media_permission, |
| 720 blink::WebContentDecryptionModule* initial_cdm); | 724 blink::WebContentDecryptionModule* initial_cdm); |
| 721 | 725 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 869 #endif | 873 #endif |
| 870 | 874 |
| 871 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 875 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 872 | 876 |
| 873 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 877 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 874 }; | 878 }; |
| 875 | 879 |
| 876 } // namespace content | 880 } // namespace content |
| 877 | 881 |
| 878 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 882 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |