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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 } | 77 } |
78 | 78 |
79 namespace blink { | 79 namespace blink { |
80 class WebGeolocationClient; | 80 class WebGeolocationClient; |
81 class WebMouseEvent; | 81 class WebMouseEvent; |
82 class WebContentDecryptionModule; | 82 class WebContentDecryptionModule; |
83 class WebPresentationClient; | 83 class WebPresentationClient; |
84 class WebPushClient; | 84 class WebPushClient; |
85 class WebSecurityOrigin; | 85 class WebSecurityOrigin; |
86 class WebWakeLockClient; | 86 class WebWakeLockClient; |
| 87 enum class WebCachePolicy; |
87 struct WebCompositionUnderline; | 88 struct WebCompositionUnderline; |
88 struct WebContextMenuData; | 89 struct WebContextMenuData; |
89 struct WebCursorInfo; | 90 struct WebCursorInfo; |
90 struct WebFindOptions; | 91 struct WebFindOptions; |
91 struct WebScreenInfo; | 92 struct WebScreenInfo; |
92 } | 93 } |
93 | 94 |
94 namespace gfx { | 95 namespace gfx { |
95 class Point; | 96 class Point; |
96 class Range; | 97 class Range; |
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 blink::WebMediaPlayerClient* client, | 885 blink::WebMediaPlayerClient* client, |
885 const blink::WebString& sink_id, | 886 const blink::WebString& sink_id, |
886 const blink::WebSecurityOrigin& security_origin); | 887 const blink::WebSecurityOrigin& security_origin); |
887 | 888 |
888 // Creates a factory object used for creating audio and video renderers. | 889 // Creates a factory object used for creating audio and video renderers. |
889 scoped_ptr<MediaStreamRendererFactory> CreateRendererFactory(); | 890 scoped_ptr<MediaStreamRendererFactory> CreateRendererFactory(); |
890 | 891 |
891 // Does preparation for the navigation to |url|. | 892 // Does preparation for the navigation to |url|. |
892 void PrepareRenderViewForNavigation( | 893 void PrepareRenderViewForNavigation( |
893 const GURL& url, | 894 const GURL& url, |
894 const RequestNavigationParams& request_params, | 895 const RequestNavigationParams& request_params); |
895 bool* is_reload, | |
896 blink::WebURLRequest::CachePolicy* cache_policy); | |
897 | 896 |
898 // PlzNavigate | 897 // PlzNavigate |
899 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents | 898 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents |
900 // of the WebURLRequest. | 899 // of the WebURLRequest. |
901 // |should_replace_current_entry| indicates that the current history entry | 900 // |should_replace_current_entry| indicates that the current history entry |
902 // will be replaced when the navigation commits. |is_client_redirect| | 901 // will be replaced when the navigation commits. |is_client_redirect| |
903 // indicates that the navigation originated as a client redirect. | 902 // indicates that the navigation originated as a client redirect. |
904 // Note: those two concepts are separate. For example, a location.assign is a | 903 // Note: those two concepts are separate. For example, a location.assign is a |
905 // client redirect but it only replaces the current entry if called before | 904 // client redirect but it only replaces the current entry if called before |
906 // load stop. location.replace on the other hand is a client redirect and | 905 // load stop. location.replace on the other hand is a client redirect and |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1220 FrameBlameContext* blame_context_; // Not owned. | 1219 FrameBlameContext* blame_context_; // Not owned. |
1221 | 1220 |
1222 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1221 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1223 | 1222 |
1224 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1223 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1225 }; | 1224 }; |
1226 | 1225 |
1227 } // namespace content | 1226 } // namespace content |
1228 | 1227 |
1229 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1228 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |