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

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

Issue 971653004: Remove the FrameMsg_Navigate_Params (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@history-params
Patch Set: Addressed Nasko's comments Created 5 years, 9 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
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 <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 25 matching lines...) Expand all
36 #include "content/renderer/pepper/plugin_power_saver_helper.h" 36 #include "content/renderer/pepper/plugin_power_saver_helper.h"
37 #endif 37 #endif
38 38
39 #if defined(OS_ANDROID) 39 #if defined(OS_ANDROID)
40 #include "content/renderer/media/android/renderer_media_player_manager.h" 40 #include "content/renderer/media/android/renderer_media_player_manager.h"
41 #endif 41 #endif
42 42
43 class GURL; 43 class GURL;
44 class TransportDIB; 44 class TransportDIB;
45 struct FrameHostMsg_AddNavigationTransitionData_Params; 45 struct FrameHostMsg_AddNavigationTransitionData_Params;
46 struct FrameMsg_Navigate_Params;
47 struct FrameMsg_NewFrame_WidgetParams; 46 struct FrameMsg_NewFrame_WidgetParams;
48 struct FrameMsg_RequestNavigation_Params;
49 47
50 namespace blink { 48 namespace blink {
51 class WebGeolocationClient; 49 class WebGeolocationClient;
52 class WebMouseEvent; 50 class WebMouseEvent;
53 class WebContentDecryptionModule; 51 class WebContentDecryptionModule;
54 class WebMediaPlayer; 52 class WebMediaPlayer;
55 class WebPresentationClient; 53 class WebPresentationClient;
56 class WebPushClient; 54 class WebPushClient;
57 class WebSecurityOrigin; 55 class WebSecurityOrigin;
58 struct WebCompositionUnderline; 56 struct WebCompositionUnderline;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 class ScreenOrientationDispatcher; 97 class ScreenOrientationDispatcher;
100 class UserMediaClientImpl; 98 class UserMediaClientImpl;
101 enum class SandboxFlags; 99 enum class SandboxFlags;
102 struct CommitNavigationParams; 100 struct CommitNavigationParams;
103 struct CommonNavigationParams; 101 struct CommonNavigationParams;
104 struct CustomContextMenuContext; 102 struct CustomContextMenuContext;
105 struct FrameReplicationState; 103 struct FrameReplicationState;
106 struct HistoryNavigationParams; 104 struct HistoryNavigationParams;
107 struct RequestNavigationParams; 105 struct RequestNavigationParams;
108 struct ResourceResponseHead; 106 struct ResourceResponseHead;
107 struct StartNavigationParams;
109 108
110 class CONTENT_EXPORT RenderFrameImpl 109 class CONTENT_EXPORT RenderFrameImpl
111 : public RenderFrame, 110 : public RenderFrame,
112 NON_EXPORTED_BASE(public blink::WebFrameClient), 111 NON_EXPORTED_BASE(public blink::WebFrameClient),
113 NON_EXPORTED_BASE(public media::WebMediaPlayerDelegate) { 112 NON_EXPORTED_BASE(public media::WebMediaPlayerDelegate) {
114 public: 113 public:
115 // Creates a new RenderFrame. |render_view| is the RenderView object that this 114 // Creates a new RenderFrame. |render_view| is the RenderView object that this
116 // frame belongs to. 115 // frame belongs to.
117 // Callers *must* call |SetWebFrame| immediately after creation. 116 // Callers *must* call |SetWebFrame| immediately after creation.
118 // Note: This is called only when RenderFrame is created by Blink through 117 // Note: This is called only when RenderFrame is created by Blink through
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 bool present, 521 bool present,
523 blink::WebFrameClient::SuddenTerminationDisablerType type) override; 522 blink::WebFrameClient::SuddenTerminationDisablerType type) override;
524 523
525 // WebMediaPlayerDelegate implementation: 524 // WebMediaPlayerDelegate implementation:
526 void DidPlay(blink::WebMediaPlayer* player) override; 525 void DidPlay(blink::WebMediaPlayer* player) override;
527 void DidPause(blink::WebMediaPlayer* player) override; 526 void DidPause(blink::WebMediaPlayer* player) override;
528 void PlayerGone(blink::WebMediaPlayer* player) override; 527 void PlayerGone(blink::WebMediaPlayer* player) override;
529 528
530 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move 529 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move
531 // this back to private member. 530 // this back to private member.
532 void OnNavigate(const FrameMsg_Navigate_Params& params); 531 void OnNavigate(const CommonNavigationParams& common_params,
532 const StartNavigationParams& start_params,
533 const CommitNavigationParams& commit_params,
534 const HistoryNavigationParams& history_params);
533 535
534 // Make this frame show an empty, unscriptable page. 536 // Make this frame show an empty, unscriptable page.
535 // TODO(nasko): Remove this method once swapped out state is no longer used. 537 // TODO(nasko): Remove this method once swapped out state is no longer used.
536 void NavigateToSwappedOutURL(); 538 void NavigateToSwappedOutURL();
537 539
538 // Binds this render frame's service registry. 540 // Binds this render frame's service registry.
539 void BindServiceRegistry( 541 void BindServiceRegistry(
540 mojo::InterfaceRequest<mojo::ServiceProvider> services, 542 mojo::InterfaceRequest<mojo::ServiceProvider> services,
541 mojo::ServiceProviderPtr exposed_services); 543 mojo::ServiceProviderPtr exposed_services);
542 544
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 #endif 880 #endif
879 881
880 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 882 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
881 883
882 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 884 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
883 }; 885 };
884 886
885 } // namespace content 887 } // namespace content
886 888
887 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 889 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698