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

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

Issue 358973005: Navigation transitions: Pass is_transition_navigation flag up to the embedder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test fix Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/frame_host/navigator.h ('k') | content/browser/frame_host/navigator_impl.h » ('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_NAVIGATOR_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "content/public/browser/invalidate_type.h" 9 #include "content/public/browser/invalidate_type.h"
10 #include "content/public/browser/navigation_controller.h" 10 #include "content/public/browser/navigation_controller.h"
(...skipping 15 matching lines...) Expand all
26 class CONTENT_EXPORT NavigatorDelegate { 26 class CONTENT_EXPORT NavigatorDelegate {
27 public: 27 public:
28 // The RenderFrameHost started a provisional load for the frame 28 // The RenderFrameHost started a provisional load for the frame
29 // represented by |render_frame_host|. 29 // represented by |render_frame_host|.
30 virtual void DidStartProvisionalLoad( 30 virtual void DidStartProvisionalLoad(
31 RenderFrameHostImpl* render_frame_host, 31 RenderFrameHostImpl* render_frame_host,
32 const GURL& validated_url, 32 const GURL& validated_url,
33 bool is_error_page, 33 bool is_error_page,
34 bool is_iframe_srcdoc) {} 34 bool is_iframe_srcdoc) {}
35 35
36 // The |render_frame_host| started a transition-flagged navigation.
37 virtual void DidStartNavigationTransition(
38 RenderFrameHostImpl* render_frame_host) {}
39
36 // A provisional load in |render_frame_host| failed. 40 // A provisional load in |render_frame_host| failed.
37 virtual void DidFailProvisionalLoadWithError( 41 virtual void DidFailProvisionalLoadWithError(
38 RenderFrameHostImpl* render_frame_host, 42 RenderFrameHostImpl* render_frame_host,
39 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {} 43 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {}
40 44
41 // Document load in |render_frame_host| failed. 45 // Document load in |render_frame_host| failed.
42 virtual void DidFailLoadWithError( 46 virtual void DidFailLoadWithError(
43 RenderFrameHostImpl* render_frame_host, 47 RenderFrameHostImpl* render_frame_host,
44 const GURL& url, 48 const GURL& url,
45 int error_code, 49 int error_code,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 const OpenURLParams& params) {} 101 const OpenURLParams& params) {}
98 102
99 // Returns whether URLs for aborted browser-initiated navigations should be 103 // Returns whether URLs for aborted browser-initiated navigations should be
100 // preserved in the omnibox. Defaults to false. 104 // preserved in the omnibox. Defaults to false.
101 virtual bool ShouldPreserveAbortedURLs(); 105 virtual bool ShouldPreserveAbortedURLs();
102 }; 106 };
103 107
104 } // namspace content 108 } // namspace content
105 109
106 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 110 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator.h ('k') | content/browser/frame_host/navigator_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698