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

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

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Addressed comments, made redirect response PlzNavigate-only. Created 3 years, 8 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 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 void OnNavigate(const CommonNavigationParams& common_params, 829 void OnNavigate(const CommonNavigationParams& common_params,
830 const StartNavigationParams& start_params, 830 const StartNavigationParams& start_params,
831 const RequestNavigationParams& request_params); 831 const RequestNavigationParams& request_params);
832 void OnBeforeUnload(bool is_reload); 832 void OnBeforeUnload(bool is_reload);
833 void OnSwapIn(); 833 void OnSwapIn();
834 void OnSwapOut(int proxy_routing_id, 834 void OnSwapOut(int proxy_routing_id,
835 bool is_loading, 835 bool is_loading,
836 const FrameReplicationState& replicated_frame_state); 836 const FrameReplicationState& replicated_frame_state);
837 void OnDeleteFrame(); 837 void OnDeleteFrame();
838 void OnStop(); 838 void OnStop();
839 void OnCollapse(bool collapse);
839 void OnShowContextMenu(const gfx::Point& location); 840 void OnShowContextMenu(const gfx::Point& location);
840 void OnContextMenuClosed(const CustomContextMenuContext& custom_context); 841 void OnContextMenuClosed(const CustomContextMenuContext& custom_context);
841 void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context, 842 void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context,
842 unsigned action); 843 unsigned action);
843 void OnUndo(); 844 void OnUndo();
844 void OnRedo(); 845 void OnRedo();
845 void OnCut(); 846 void OnCut();
846 void OnCopy(); 847 void OnCopy();
847 void OnPaste(); 848 void OnPaste();
848 void OnPasteAndMatchStyle(); 849 void OnPasteAndMatchStyle();
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
1429 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; 1430 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_;
1430 1431
1431 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1432 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1432 1433
1433 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1434 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1434 }; 1435 };
1435 1436
1436 } // namespace content 1437 } // namespace content
1437 1438
1438 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1439 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698