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