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

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: remove gesture dcheck 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 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 const base::string16& message, 622 const base::string16& message,
623 int32_t line_no, 623 int32_t line_no,
624 const base::string16& source_id); 624 const base::string16& source_id);
625 void OnDetach(); 625 void OnDetach();
626 void OnFrameFocused(); 626 void OnFrameFocused();
627 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); 627 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params);
628 void OnCancelInitialHistoryLoad(); 628 void OnCancelInitialHistoryLoad();
629 void OnDocumentOnLoadCompleted( 629 void OnDocumentOnLoadCompleted(
630 FrameMsg_UILoadMetricsReportType::Value report_type, 630 FrameMsg_UILoadMetricsReportType::Value report_type,
631 base::TimeTicks ui_timestamp); 631 base::TimeTicks ui_timestamp);
632 void OnDidStartProvisionalLoad( 632 void OnDidStartProvisionalLoad(const GURL& url,
633 const GURL& url, 633 const base::TimeTicks& navigation_start,
634 const base::TimeTicks& navigation_start); 634 NavigationGesture gesture);
635 void OnDidFailProvisionalLoadWithError( 635 void OnDidFailProvisionalLoadWithError(
636 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); 636 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params);
637 void OnDidFailLoadWithError( 637 void OnDidFailLoadWithError(
638 const GURL& url, 638 const GURL& url,
639 int error_code, 639 int error_code,
640 const base::string16& error_description, 640 const base::string16& error_description,
641 bool was_ignored_by_handler); 641 bool was_ignored_by_handler);
642 void OnDidCommitProvisionalLoad(const IPC::Message& msg); 642 void OnDidCommitProvisionalLoad(const IPC::Message& msg);
643 void OnUpdateState(const PageState& state); 643 void OnUpdateState(const PageState& state);
644 void OnBeforeUnloadACK( 644 void OnBeforeUnloadACK(
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
1068 remote_associated_interfaces_; 1068 remote_associated_interfaces_;
1069 // NOTE: This must be the last member. 1069 // NOTE: This must be the last member.
1070 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1070 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1071 1071
1072 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1072 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1073 }; 1073 };
1074 1074
1075 } // namespace content 1075 } // namespace content
1076 1076
1077 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1077 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698