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

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

Issue 1194383003: Add a flag showing whether the current request was ignored by a handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix trybot failures (DidFailProvisionalLoad calls in unit tests) 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(FrameTreeNode* frame_tree_node, 53 bool NavigateToPendingEntry(FrameTreeNode* frame_tree_node,
53 const FrameNavigationEntry& frame_entry, 54 const FrameNavigationEntry& frame_entry,
54 NavigationController::ReloadType reload_type, 55 NavigationController::ReloadType reload_type,
55 bool is_same_document_history_load) override; 56 bool is_same_document_history_load) override;
56 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, 57 void RequestOpenURL(RenderFrameHostImpl* render_frame_host,
57 const GURL& url, 58 const GURL& url,
58 SiteInstance* source_site_instance, 59 SiteInstance* source_site_instance,
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 NavigatorDelegate* delegate_; 143 NavigatorDelegate* delegate_;
143 144
144 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; 145 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_;
145 146
146 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); 147 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl);
147 }; 148 };
148 149
149 } // namespace content 150 } // namespace content
150 151
151 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 152 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_delegate.h ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698