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

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

Issue 1155713005: Use a resource throttle to implement shouldOverrideUrlLoading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add flag showing that shouldOverrideUrl cancelled the navigation Created 5 years, 6 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_NAVIGATOR_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
7 7
8 #include "base/containers/scoped_ptr_hash_map.h" 8 #include "base/containers/scoped_ptr_hash_map.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 27 matching lines...) Expand all
38 NavigationController* GetController() override; 38 NavigationController* GetController() override;
39 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, 39 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host,
40 const GURL& url) override; 40 const GURL& url) override;
41 void DidFailProvisionalLoadWithError( 41 void DidFailProvisionalLoadWithError(
42 RenderFrameHostImpl* render_frame_host, 42 RenderFrameHostImpl* render_frame_host,
43 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) 43 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params)
44 override; 44 override;
45 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, 45 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host,
46 const GURL& url, 46 const GURL& url,
47 int error_code, 47 int error_code,
48 const base::string16& error_description) override; 48 const base::string16& error_description,
49 bool was_ignored_by_handler) override;
49 void DidNavigate(RenderFrameHostImpl* render_frame_host, 50 void DidNavigate(RenderFrameHostImpl* render_frame_host,
50 const FrameHostMsg_DidCommitProvisionalLoad_Params& 51 const FrameHostMsg_DidCommitProvisionalLoad_Params&
51 input_params) override; 52 input_params) override;
52 bool NavigateToPendingEntry( 53 bool NavigateToPendingEntry(
53 FrameTreeNode* frame_tree_node, 54 FrameTreeNode* frame_tree_node,
54 NavigationController::ReloadType reload_type) override; 55 NavigationController::ReloadType reload_type) override;
55 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, 56 void RequestOpenURL(RenderFrameHostImpl* render_frame_host,
56 const GURL& url, 57 const GURL& url,
57 SiteInstance* source_site_instance, 58 SiteInstance* source_site_instance,
58 const Referrer& referrer, 59 const Referrer& referrer,
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 NavigatorDelegate* delegate_; 137 NavigatorDelegate* delegate_;
137 138
138 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; 139 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_;
139 140
140 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); 141 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl);
141 }; 142 };
142 143
143 } // namespace content 144 } // namespace content
144 145
145 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 146 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698