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

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

Issue 672973003: Navigation transitions (web to native app): Clear navigation transition data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/browser/frame_host/render_frame_host_manager.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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 // Received a response from CrossSiteResourceHandler. If the navigation 280 // Received a response from CrossSiteResourceHandler. If the navigation
281 // specifies a transition, this is called and the navigation will not resume 281 // specifies a transition, this is called and the navigation will not resume
282 // until ResumeResponseDeferredAtStart. 282 // until ResumeResponseDeferredAtStart.
283 void OnDeferredAfterResponseStarted( 283 void OnDeferredAfterResponseStarted(
284 const GlobalRequestID& global_request_id, 284 const GlobalRequestID& global_request_id,
285 RenderFrameHostImpl* pending_render_frame_host); 285 RenderFrameHostImpl* pending_render_frame_host);
286 286
287 // Resume navigation paused after receiving response headers. 287 // Resume navigation paused after receiving response headers.
288 void ResumeResponseDeferredAtStart(); 288 void ResumeResponseDeferredAtStart();
289 289
290 // Clear navigation transition data.
291 void ClearNavigationTransitionData();
292
290 // Called when a renderer's frame navigates. 293 // Called when a renderer's frame navigates.
291 void DidNavigateFrame(RenderFrameHostImpl* render_frame_host); 294 void DidNavigateFrame(RenderFrameHostImpl* render_frame_host);
292 295
293 // Called when a renderer sets its opener to null. 296 // Called when a renderer sets its opener to null.
294 void DidDisownOpener(RenderFrameHost* render_frame_host); 297 void DidDisownOpener(RenderFrameHost* render_frame_host);
295 298
296 // Helper method to create and initialize a RenderFrameHost. If |swapped_out| 299 // Helper method to create and initialize a RenderFrameHost. If |swapped_out|
297 // is true, it will be initially placed on the swapped out hosts list. 300 // is true, it will be initially placed on the swapped out hosts list.
298 // Returns the routing id of the *view* associated with the frame. 301 // Returns the routing id of the *view* associated with the frame.
299 int CreateRenderFrame(SiteInstance* instance, 302 int CreateRenderFrame(SiteInstance* instance,
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 NotificationRegistrar registrar_; 576 NotificationRegistrar registrar_;
574 577
575 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; 578 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_;
576 579
577 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); 580 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager);
578 }; 581 };
579 582
580 } // namespace content 583 } // namespace content
581 584
582 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 585 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698