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

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

Issue 2499313003: Set user_gesture bit at NavigationHandle creation time. (Closed)
Patch Set: rebase Created 4 years 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
« no previous file with comments | « content/browser/frame_host/navigator.h ('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 <memory> 8 #include <memory>
9 9
10 #include "base/containers/scoped_ptr_hash_map.h" 10 #include "base/containers/scoped_ptr_hash_map.h"
(...skipping 23 matching lines...) Expand all
34 NavigatorImpl(NavigationControllerImpl* navigation_controller, 34 NavigatorImpl(NavigationControllerImpl* navigation_controller,
35 NavigatorDelegate* delegate); 35 NavigatorDelegate* delegate);
36 36
37 static void CheckWebUIRendererDoesNotDisplayNormalURL( 37 static void CheckWebUIRendererDoesNotDisplayNormalURL(
38 RenderFrameHostImpl* render_frame_host, 38 RenderFrameHostImpl* render_frame_host,
39 const GURL& url); 39 const GURL& url);
40 40
41 // Navigator implementation. 41 // Navigator implementation.
42 NavigatorDelegate* GetDelegate() override; 42 NavigatorDelegate* GetDelegate() override;
43 NavigationController* GetController() override; 43 NavigationController* GetController() override;
44 void DidStartProvisionalLoad( 44 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host,
45 RenderFrameHostImpl* render_frame_host, 45 const GURL& url,
46 const GURL& url, 46 const base::TimeTicks& navigation_start,
47 const base::TimeTicks& navigation_start) override; 47 NavigationGesture gesture) override;
48 void DidFailProvisionalLoadWithError( 48 void DidFailProvisionalLoadWithError(
49 RenderFrameHostImpl* render_frame_host, 49 RenderFrameHostImpl* render_frame_host,
50 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) 50 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params)
51 override; 51 override;
52 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, 52 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host,
53 const GURL& url, 53 const GURL& url,
54 int error_code, 54 int error_code,
55 const base::string16& error_description, 55 const base::string16& error_description,
56 bool was_ignored_by_handler) override; 56 bool was_ignored_by_handler) override;
57 void DidNavigate( 57 void DidNavigate(
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 NavigatorDelegate* delegate_; 157 NavigatorDelegate* delegate_;
158 158
159 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; 159 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_;
160 160
161 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); 161 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl);
162 }; 162 };
163 163
164 } // namespace content 164 } // namespace content
165 165
166 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 166 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator.h ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698