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

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

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Extend tests, fix redirects. Non-PlzNavigate version still broken. Created 3 years, 10 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 void OnNavigate(const CommonNavigationParams& common_params, 824 void OnNavigate(const CommonNavigationParams& common_params,
825 const StartNavigationParams& start_params, 825 const StartNavigationParams& start_params,
826 const RequestNavigationParams& request_params); 826 const RequestNavigationParams& request_params);
827 void OnBeforeUnload(bool is_reload); 827 void OnBeforeUnload(bool is_reload);
828 void OnSwapIn(); 828 void OnSwapIn();
829 void OnSwapOut(int proxy_routing_id, 829 void OnSwapOut(int proxy_routing_id,
830 bool is_loading, 830 bool is_loading,
831 const FrameReplicationState& replicated_frame_state); 831 const FrameReplicationState& replicated_frame_state);
832 void OnDeleteFrame(); 832 void OnDeleteFrame();
833 void OnStop(); 833 void OnStop();
834 void OnCollapse(bool collapse);
834 void OnShowContextMenu(const gfx::Point& location); 835 void OnShowContextMenu(const gfx::Point& location);
835 void OnContextMenuClosed(const CustomContextMenuContext& custom_context); 836 void OnContextMenuClosed(const CustomContextMenuContext& custom_context);
836 void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context, 837 void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context,
837 unsigned action); 838 unsigned action);
838 void OnUndo(); 839 void OnUndo();
839 void OnRedo(); 840 void OnRedo();
840 void OnCut(); 841 void OnCut();
841 void OnCopy(); 842 void OnCopy();
842 void OnPaste(); 843 void OnPaste();
843 void OnPasteAndMatchStyle(); 844 void OnPasteAndMatchStyle();
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
1396 int enabled_bindings_ = 0; 1397 int enabled_bindings_ = 0;
1397 1398
1398 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1399 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1399 1400
1400 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1401 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1401 }; 1402 };
1402 1403
1403 } // namespace content 1404 } // namespace content
1404 1405
1405 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1406 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698