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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2378393002: Pass the user_gesture context in the IPC message FrameMsg_CommitNavigation to the renderer. (Closed)
Patch Set: Created 4 years, 2 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
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_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 const FrameOwnerProperties& frame_owner_properties); 824 const FrameOwnerProperties& frame_owner_properties);
825 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); 825 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id);
826 void OnSetFocusedFrame(); 826 void OnSetFocusedFrame();
827 void OnClearFocusedFrame(); 827 void OnClearFocusedFrame();
828 void OnTextTrackSettingsChanged( 828 void OnTextTrackSettingsChanged(
829 const FrameMsg_TextTrackSettings_Params& params); 829 const FrameMsg_TextTrackSettings_Params& params);
830 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); 830 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params);
831 void OnCommitNavigation(const ResourceResponseHead& response, 831 void OnCommitNavigation(const ResourceResponseHead& response,
832 const GURL& stream_url, 832 const GURL& stream_url,
833 const CommonNavigationParams& common_params, 833 const CommonNavigationParams& common_params,
834 const RequestNavigationParams& request_params); 834 const RequestNavigationParams& request_params,
835 bool user_gesture);
835 void OnFailedNavigation(const CommonNavigationParams& common_params, 836 void OnFailedNavigation(const CommonNavigationParams& common_params,
836 const RequestNavigationParams& request_params, 837 const RequestNavigationParams& request_params,
837 bool has_stale_copy_in_cache, 838 bool has_stale_copy_in_cache,
838 int error_code); 839 int error_code);
839 void OnGetSavableResourceLinks(); 840 void OnGetSavableResourceLinks();
840 void OnGetSerializedHtmlWithLocalLinks( 841 void OnGetSerializedHtmlWithLocalLinks(
841 const std::map<GURL, base::FilePath>& url_to_local_path, 842 const std::map<GURL, base::FilePath>& url_to_local_path,
842 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); 843 const std::map<int, base::FilePath>& frame_routing_id_to_local_path);
843 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); 844 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params);
844 void OnFind(int request_id, 845 void OnFind(int request_id,
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
1295 remote_associated_interfaces_; 1296 remote_associated_interfaces_;
1296 1297
1297 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1298 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1298 1299
1299 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1300 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1300 }; 1301 };
1301 1302
1302 } // namespace content 1303 } // namespace content
1303 1304
1304 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1305 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698