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

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: 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
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 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 const base::string16& message, 620 const base::string16& message,
621 int32_t line_no, 621 int32_t line_no,
622 const base::string16& source_id); 622 const base::string16& source_id);
623 void OnDetach(); 623 void OnDetach();
624 void OnFrameFocused(); 624 void OnFrameFocused();
625 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); 625 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params);
626 void OnCancelInitialHistoryLoad(); 626 void OnCancelInitialHistoryLoad();
627 void OnDocumentOnLoadCompleted( 627 void OnDocumentOnLoadCompleted(
628 FrameMsg_UILoadMetricsReportType::Value report_type, 628 FrameMsg_UILoadMetricsReportType::Value report_type,
629 base::TimeTicks ui_timestamp); 629 base::TimeTicks ui_timestamp);
630 void OnDidStartProvisionalLoad( 630 void OnDidStartProvisionalLoad(const GURL& url,
631 const GURL& url, 631 const base::TimeTicks& navigation_start,
632 const base::TimeTicks& navigation_start); 632 NavigationGesture gesture);
633 void OnDidFailProvisionalLoadWithError( 633 void OnDidFailProvisionalLoadWithError(
634 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); 634 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params);
635 void OnDidFailLoadWithError( 635 void OnDidFailLoadWithError(
636 const GURL& url, 636 const GURL& url,
637 int error_code, 637 int error_code,
638 const base::string16& error_description, 638 const base::string16& error_description,
639 bool was_ignored_by_handler); 639 bool was_ignored_by_handler);
640 void OnDidCommitProvisionalLoad(const IPC::Message& msg); 640 void OnDidCommitProvisionalLoad(const IPC::Message& msg);
641 void OnUpdateState(const PageState& state); 641 void OnUpdateState(const PageState& state);
642 void OnBeforeUnloadACK( 642 void OnBeforeUnloadACK(
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
1072 remote_associated_interfaces_; 1072 remote_associated_interfaces_;
1073 // NOTE: This must be the last member. 1073 // NOTE: This must be the last member.
1074 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1074 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1075 1075
1076 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1076 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1077 }; 1077 };
1078 1078
1079 } // namespace content 1079 } // namespace content
1080 1080
1081 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1081 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_impl_unittest.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698