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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 struct FrameMsg_TextTrackSettings_Params; | 72 struct FrameMsg_TextTrackSettings_Params; |
73 | 73 |
74 namespace blink { | 74 namespace blink { |
75 class WebGeolocationClient; | 75 class WebGeolocationClient; |
76 class WebMouseEvent; | 76 class WebMouseEvent; |
77 class WebContentDecryptionModule; | 77 class WebContentDecryptionModule; |
78 class WebPresentationClient; | 78 class WebPresentationClient; |
79 class WebPushClient; | 79 class WebPushClient; |
80 class WebSecurityOrigin; | 80 class WebSecurityOrigin; |
81 class WebWakeLockClient; | 81 class WebWakeLockClient; |
| 82 enum class WebCachePolicy; |
82 struct WebCompositionUnderline; | 83 struct WebCompositionUnderline; |
83 struct WebContextMenuData; | 84 struct WebContextMenuData; |
84 struct WebCursorInfo; | 85 struct WebCursorInfo; |
85 struct WebFindOptions; | 86 struct WebFindOptions; |
86 struct WebScreenInfo; | 87 struct WebScreenInfo; |
87 } | 88 } |
88 | 89 |
89 namespace gfx { | 90 namespace gfx { |
90 class Point; | 91 class Point; |
91 class Range; | 92 class Range; |
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
876 const blink::WebString& sink_id, | 877 const blink::WebString& sink_id, |
877 const blink::WebSecurityOrigin& security_origin); | 878 const blink::WebSecurityOrigin& security_origin); |
878 | 879 |
879 // Creates a factory object used for creating audio and video renderers. | 880 // Creates a factory object used for creating audio and video renderers. |
880 scoped_ptr<MediaStreamRendererFactory> CreateRendererFactory(); | 881 scoped_ptr<MediaStreamRendererFactory> CreateRendererFactory(); |
881 | 882 |
882 // Does preparation for the navigation to |url|. | 883 // Does preparation for the navigation to |url|. |
883 void PrepareRenderViewForNavigation( | 884 void PrepareRenderViewForNavigation( |
884 const GURL& url, | 885 const GURL& url, |
885 const RequestNavigationParams& request_params, | 886 const RequestNavigationParams& request_params, |
886 bool* is_reload, | 887 bool is_reload, |
887 blink::WebURLRequest::CachePolicy* cache_policy); | 888 blink::WebCachePolicy cache_policy); |
888 | 889 |
889 // PlzNavigate | 890 // PlzNavigate |
890 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents | 891 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents |
891 // of the WebURLRequest. | 892 // of the WebURLRequest. |
892 // |should_replace_current_entry| indicates that the current history entry | 893 // |should_replace_current_entry| indicates that the current history entry |
893 // will be replaced when the navigation commits. |is_client_redirect| | 894 // will be replaced when the navigation commits. |is_client_redirect| |
894 // indicates that the navigation originated as a client redirect. | 895 // indicates that the navigation originated as a client redirect. |
895 // Note: those two concepts are separate. For example, a location.assign is a | 896 // Note: those two concepts are separate. For example, a location.assign is a |
896 // client redirect but it only replaces the current entry if called before | 897 // client redirect but it only replaces the current entry if called before |
897 // load stop. location.replace on the other hand is a client redirect and | 898 // load stop. location.replace on the other hand is a client redirect and |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1210 FrameBlameContext* blame_context_; // Not owned. | 1211 FrameBlameContext* blame_context_; // Not owned. |
1211 | 1212 |
1212 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1213 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1213 | 1214 |
1214 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1215 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1215 }; | 1216 }; |
1216 | 1217 |
1217 } // namespace content | 1218 } // namespace content |
1218 | 1219 |
1219 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1220 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |