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

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

Issue 248963007: Perform navigation policy check on UI thread for --site-per-process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on ToT. Created 6 years, 7 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.cc ('k') | content/browser/frame_host/navigator_impl.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_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/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "content/browser/frame_host/navigation_controller_impl.h" 9 #include "content/browser/frame_host/navigation_controller_impl.h"
10 #include "content/browser/frame_host/navigator.h" 10 #include "content/browser/frame_host/navigator.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 class NavigationControllerImpl; 15 class NavigationControllerImpl;
16 class NavigatorDelegate; 16 class NavigatorDelegate;
17 struct LoadCommittedDetails; 17 struct LoadCommittedDetails;
18 18
19 // This class is an implementation of Navigator, responsible for managing 19 // This class is an implementation of Navigator, responsible for managing
20 // navigations in regular browser tabs. 20 // navigations in regular browser tabs.
21 class CONTENT_EXPORT NavigatorImpl : public Navigator { 21 class CONTENT_EXPORT NavigatorImpl : public Navigator {
22 public: 22 public:
23 NavigatorImpl(NavigationControllerImpl* navigation_controller, 23 NavigatorImpl(NavigationControllerImpl* navigation_controller,
24 NavigatorDelegate* delegate); 24 NavigatorDelegate* delegate);
25 25
26 // Navigator implementation. 26 // Navigator implementation.
27 virtual NavigationController* GetController() OVERRIDE;
27 virtual void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, 28 virtual void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host,
28 int parent_routing_id, 29 int parent_routing_id,
29 const GURL& url) OVERRIDE; 30 const GURL& url) OVERRIDE;
30 virtual void DidFailProvisionalLoadWithError( 31 virtual void DidFailProvisionalLoadWithError(
31 RenderFrameHostImpl* render_frame_host, 32 RenderFrameHostImpl* render_frame_host,
32 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) 33 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params)
33 OVERRIDE; 34 OVERRIDE;
34 virtual void DidFailLoadWithError( 35 virtual void DidFailLoadWithError(
35 RenderFrameHostImpl* render_frame_host, 36 RenderFrameHostImpl* render_frame_host,
36 const GURL& url, 37 const GURL& url,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 91
91 // System time at which the current load was started. 92 // System time at which the current load was started.
92 base::TimeTicks current_load_start_; 93 base::TimeTicks current_load_start_;
93 94
94 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); 95 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl);
95 }; 96 };
96 97
97 } // namespace content 98 } // namespace content
98 99
99 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 100 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator.cc ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698