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

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

Issue 2499313003: Set user_gesture bit at NavigationHandle creation time. (Closed)
Patch Set: address comments Created 4 years, 1 month 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_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 const base::string16& message, 619 const base::string16& message,
620 int32_t line_no, 620 int32_t line_no,
621 const base::string16& source_id); 621 const base::string16& source_id);
622 void OnDetach(); 622 void OnDetach();
623 void OnFrameFocused(); 623 void OnFrameFocused();
624 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); 624 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params);
625 void OnCancelInitialHistoryLoad(); 625 void OnCancelInitialHistoryLoad();
626 void OnDocumentOnLoadCompleted( 626 void OnDocumentOnLoadCompleted(
627 FrameMsg_UILoadMetricsReportType::Value report_type, 627 FrameMsg_UILoadMetricsReportType::Value report_type,
628 base::TimeTicks ui_timestamp); 628 base::TimeTicks ui_timestamp);
629 void OnDidStartProvisionalLoad( 629 void OnDidStartProvisionalLoad(const GURL& url,
630 const GURL& url, 630 const base::TimeTicks& navigation_start,
631 const base::TimeTicks& navigation_start); 631 NavigationGesture gesture);
632 void OnDidFailProvisionalLoadWithError( 632 void OnDidFailProvisionalLoadWithError(
633 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); 633 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params);
634 void OnDidFailLoadWithError( 634 void OnDidFailLoadWithError(
635 const GURL& url, 635 const GURL& url,
636 int error_code, 636 int error_code,
637 const base::string16& error_description, 637 const base::string16& error_description,
638 bool was_ignored_by_handler); 638 bool was_ignored_by_handler);
639 void OnDidCommitProvisionalLoad(const IPC::Message& msg); 639 void OnDidCommitProvisionalLoad(const IPC::Message& msg);
640 void OnUpdateState(const PageState& state); 640 void OnUpdateState(const PageState& state);
641 void OnBeforeUnloadACK( 641 void OnBeforeUnloadACK(
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 remote_associated_interfaces_; 1070 remote_associated_interfaces_;
1071 // NOTE: This must be the last member. 1071 // NOTE: This must be the last member.
1072 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1072 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1073 1073
1074 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1074 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1075 }; 1075 };
1076 1076
1077 } // namespace content 1077 } // namespace content
1078 1078
1079 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1079 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698