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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 387703004: Navigation transitions: Parse out transition-entering-stylesheet link headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 27 matching lines...) Expand all
38 class FrameTreeNode; 38 class FrameTreeNode;
39 class RenderFrameHostDelegate; 39 class RenderFrameHostDelegate;
40 class RenderFrameProxyHost; 40 class RenderFrameProxyHost;
41 class RenderProcessHost; 41 class RenderProcessHost;
42 class RenderViewHostImpl; 42 class RenderViewHostImpl;
43 class RenderWidgetHostImpl; 43 class RenderWidgetHostImpl;
44 struct ContextMenuParams; 44 struct ContextMenuParams;
45 struct GlobalRequestID; 45 struct GlobalRequestID;
46 struct Referrer; 46 struct Referrer;
47 struct ShowDesktopNotificationHostMsgParams; 47 struct ShowDesktopNotificationHostMsgParams;
48 struct TransitionLayerData;
48 49
49 class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost { 50 class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
50 public: 51 public:
51 static RenderFrameHostImpl* FromID(int process_id, int routing_id); 52 static RenderFrameHostImpl* FromID(int process_id, int routing_id);
52 53
53 virtual ~RenderFrameHostImpl(); 54 virtual ~RenderFrameHostImpl();
54 55
55 // RenderFrameHost 56 // RenderFrameHost
56 virtual int GetRoutingID() OVERRIDE; 57 virtual int GetRoutingID() OVERRIDE;
57 virtual SiteInstance* GetSiteInstance() OVERRIDE; 58 virtual SiteInstance* GetSiteInstance() OVERRIDE;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 void OnCrossSiteResponse( 116 void OnCrossSiteResponse(
116 const GlobalRequestID& global_request_id, 117 const GlobalRequestID& global_request_id,
117 scoped_ptr<CrossSiteTransferringRequest> cross_site_transferring_request, 118 scoped_ptr<CrossSiteTransferringRequest> cross_site_transferring_request,
118 const std::vector<GURL>& transfer_url_chain, 119 const std::vector<GURL>& transfer_url_chain,
119 const Referrer& referrer, 120 const Referrer& referrer,
120 PageTransition page_transition, 121 PageTransition page_transition,
121 bool should_replace_current_entry); 122 bool should_replace_current_entry);
122 123
123 // Called on the current RenderFrameHost when the network response is first 124 // Called on the current RenderFrameHost when the network response is first
124 // receieved. 125 // receieved.
125 void OnDeferredAfterResponseStarted(const GlobalRequestID& global_request_id); 126 void OnDeferredAfterResponseStarted(
127 const GlobalRequestID& global_request_id,
128 const TransitionLayerData& transition_layer_data);
126 129
127 // Tells the renderer that this RenderFrame is being swapped out for one in a 130 // Tells the renderer that this RenderFrame is being swapped out for one in a
128 // different renderer process. It should run its unload handler, move to 131 // different renderer process. It should run its unload handler, move to
129 // a blank document and create a RenderFrameProxy to replace the RenderFrame. 132 // a blank document and create a RenderFrameProxy to replace the RenderFrame.
130 // The renderer should preserve the Proxy object until it exits, in case we 133 // The renderer should preserve the Proxy object until it exits, in case we
131 // come back. The renderer can exit if it has no other active RenderFrames, 134 // come back. The renderer can exit if it has no other active RenderFrames,
132 // but not until WasSwappedOut is called (when it is no longer visible). 135 // but not until WasSwappedOut is called (when it is no longer visible).
133 void SwapOut(RenderFrameProxyHost* proxy); 136 void SwapOut(RenderFrameProxyHost* proxy);
134 137
135 void OnSwappedOut(bool timed_out); 138 void OnSwappedOut(bool timed_out);
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 ServiceRegistryImpl service_registry_; 309 ServiceRegistryImpl service_registry_;
307 310
308 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 311 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
309 312
310 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 313 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
311 }; 314 };
312 315
313 } // namespace content 316 } // namespace content
314 317
315 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 318 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698