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

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

Issue 1890493002: PlzNavigate: properly execute BeforeUnload on renderer initiated navigations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + fixed issue with layout test Created 4 years, 6 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
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/render_frame_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_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 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 blink::WebHistoryCommitType commit_type, 731 blink::WebHistoryCommitType commit_type,
732 const blink::WebHistoryItem& item); 732 const blink::WebHistoryItem& item);
733 733
734 // IPC message handlers ------------------------------------------------------ 734 // IPC message handlers ------------------------------------------------------
735 // 735 //
736 // The documentation for these functions should be in 736 // The documentation for these functions should be in
737 // content/common/*_messages.h for the message that the function is handling. 737 // content/common/*_messages.h for the message that the function is handling.
738 void OnNavigate(const CommonNavigationParams& common_params, 738 void OnNavigate(const CommonNavigationParams& common_params,
739 const StartNavigationParams& start_params, 739 const StartNavigationParams& start_params,
740 const RequestNavigationParams& request_params); 740 const RequestNavigationParams& request_params);
741 void OnBeforeUnload(); 741 void OnBeforeUnload(bool is_reload);
742 void OnSwapOut(int proxy_routing_id, 742 void OnSwapOut(int proxy_routing_id,
743 bool is_loading, 743 bool is_loading,
744 const FrameReplicationState& replicated_frame_state); 744 const FrameReplicationState& replicated_frame_state);
745 void OnDeleteFrame(); 745 void OnDeleteFrame();
746 void OnStop(); 746 void OnStop();
747 void OnShowContextMenu(const gfx::Point& location); 747 void OnShowContextMenu(const gfx::Point& location);
748 void OnContextMenuClosed(const CustomContextMenuContext& custom_context); 748 void OnContextMenuClosed(const CustomContextMenuContext& custom_context);
749 void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context, 749 void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context,
750 unsigned action); 750 unsigned action);
751 void OnUndo(); 751 void OnUndo();
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
1237 #endif 1237 #endif
1238 1238
1239 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1239 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1240 1240
1241 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1241 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1242 }; 1242 };
1243 1243
1244 } // namespace content 1244 } // namespace content
1245 1245
1246 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1246 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698