Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2356093002: Move navigation specific logic in wilSendRequest to a separate method
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 class RendererCdmManager; 143 class RendererCdmManager;
144 class RendererMediaPlayerManager; 144 class RendererMediaPlayerManager;
145 class RendererMediaSessionManager; 145 class RendererMediaSessionManager;
146 class RendererPpapiHost; 146 class RendererPpapiHost;
147 class RendererSurfaceViewManager; 147 class RendererSurfaceViewManager;
148 class RenderFrameObserver; 148 class RenderFrameObserver;
149 class RenderViewImpl; 149 class RenderViewImpl;
150 class RenderWidget; 150 class RenderWidget;
151 class RenderWidgetFullscreenPepper; 151 class RenderWidgetFullscreenPepper;
152 class ResourceRequestBodyImpl; 152 class ResourceRequestBodyImpl;
153 class RequestExtraData;
153 class ScreenOrientationDispatcher; 154 class ScreenOrientationDispatcher;
154 class UserMediaClientImpl; 155 class UserMediaClientImpl;
155 class WakeLockDispatcher; 156 class WakeLockDispatcher;
156 struct CommonNavigationParams; 157 struct CommonNavigationParams;
157 struct CustomContextMenuContext; 158 struct CustomContextMenuContext;
158 struct FileChooserFileInfo; 159 struct FileChooserFileInfo;
159 struct FileChooserParams; 160 struct FileChooserParams;
160 struct FrameOwnerProperties; 161 struct FrameOwnerProperties;
161 struct FrameReplicationState; 162 struct FrameReplicationState;
162 struct NavigationParams; 163 struct NavigationParams;
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 // This is called right after creation with the WebLocalFrame for this 750 // This is called right after creation with the WebLocalFrame for this
750 // RenderFrame. It must be called before Initialize. 751 // RenderFrame. It must be called before Initialize.
751 void BindToWebFrame(blink::WebLocalFrame* web_frame); 752 void BindToWebFrame(blink::WebLocalFrame* web_frame);
752 753
753 // Functions to add and remove observers for this object. 754 // Functions to add and remove observers for this object.
754 void AddObserver(RenderFrameObserver* observer); 755 void AddObserver(RenderFrameObserver* observer);
755 void RemoveObserver(RenderFrameObserver* observer); 756 void RemoveObserver(RenderFrameObserver* observer);
756 757
757 bool IsLocalRoot() const; 758 bool IsLocalRoot() const;
758 759
760 void WillSendNavigationRequest(blink::WebLocalFrame* frame,
761 blink::WebURLRequest& request,
762 blink::WebDataSource* data_source,
763 RequestExtraData* new_extra_data);
764
759 // Builds and sends DidCommitProvisionalLoad to the host. 765 // Builds and sends DidCommitProvisionalLoad to the host.
760 void SendDidCommitProvisionalLoad(blink::WebFrame* frame, 766 void SendDidCommitProvisionalLoad(blink::WebFrame* frame,
761 blink::WebHistoryCommitType commit_type, 767 blink::WebHistoryCommitType commit_type,
762 const blink::WebHistoryItem& item); 768 const blink::WebHistoryItem& item);
763 769
764 // IPC message handlers ------------------------------------------------------ 770 // IPC message handlers ------------------------------------------------------
765 // 771 //
766 // The documentation for these functions should be in 772 // The documentation for these functions should be in
767 // content/common/*_messages.h for the message that the function is handling. 773 // content/common/*_messages.h for the message that the function is handling.
768 void OnNavigate(const CommonNavigationParams& common_params, 774 void OnNavigate(const CommonNavigationParams& common_params,
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
1291 remote_associated_interfaces_; 1297 remote_associated_interfaces_;
1292 1298
1293 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1299 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1294 1300
1295 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1301 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1296 }; 1302 };
1297 1303
1298 } // namespace content 1304 } // namespace content
1299 1305
1300 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1306 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698