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

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

Issue 2696493003: Introduce SubframeNavigationFilteringThrottle (Closed)
Patch Set: fix test names Created 3 years, 10 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_NAVIGATION_HANDLE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
7 7
8 #include "content/public/browser/navigation_handle.h" 8 #include "content/public/browser/navigation_handle.h"
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 bool new_is_external_protocol) override; 139 bool new_is_external_protocol) override;
140 NavigationThrottle::ThrottleCheckResult CallWillProcessResponseForTesting( 140 NavigationThrottle::ThrottleCheckResult CallWillProcessResponseForTesting(
141 RenderFrameHost* render_frame_host, 141 RenderFrameHost* render_frame_host,
142 const std::string& raw_response_header) override; 142 const std::string& raw_response_header) override;
143 void CallDidCommitNavigationForTesting(const GURL& url) override; 143 void CallDidCommitNavigationForTesting(const GURL& url) override;
144 bool WasStartedFromContextMenu() const override; 144 bool WasStartedFromContextMenu() const override;
145 const GURL& GetSearchableFormURL() override; 145 const GURL& GetSearchableFormURL() override;
146 const std::string& GetSearchableFormEncoding() override; 146 const std::string& GetSearchableFormEncoding() override;
147 ReloadType GetReloadType() override; 147 ReloadType GetReloadType() override;
148 const GlobalRequestID& GetGlobalRequestID() override; 148 const GlobalRequestID& GetGlobalRequestID() override;
149
150 NavigationData* GetNavigationData() override; 149 NavigationData* GetNavigationData() override;
150 bool IsCancellingForTesting() override;
151 151
152 // The NavigatorDelegate to notify/query for various navigation events. 152 // The NavigatorDelegate to notify/query for various navigation events.
153 // Normally this is the WebContents, except if this NavigationHandle was 153 // Normally this is the WebContents, except if this NavigationHandle was
154 // created during a navigation to an interstitial page. In this case it will 154 // created during a navigation to an interstitial page. In this case it will
155 // be the InterstitialPage itself. 155 // be the InterstitialPage itself.
156 // 156 //
157 // Note: due to the interstitial navigation case, all calls that can possibly 157 // Note: due to the interstitial navigation case, all calls that can possibly
158 // expose the NavigationHandle to code outside of content/ MUST go though the 158 // expose the NavigationHandle to code outside of content/ MUST go though the
159 // NavigatorDelegate. In particular, the ContentBrowserClient should not be 159 // NavigatorDelegate. In particular, the ContentBrowserClient should not be
160 // called directly form the NavigationHandle code. Thus, these calls will not 160 // called directly form the NavigationHandle code. Thus, these calls will not
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 NavigationType navigation_type_; 491 NavigationType navigation_type_;
492 492
493 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; 493 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_;
494 494
495 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); 495 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl);
496 }; 496 };
497 497
498 } // namespace content 498 } // namespace content
499 499
500 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 500 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698