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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 894843003: Move the RenderProcessGone IPC from RenderViewHost to RenderFrameHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for swapped out RFHs. Created 5 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_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 <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 const GURL& url, 457 const GURL& url,
458 int error_code, 458 int error_code,
459 const base::string16& error_description); 459 const base::string16& error_description);
460 void OnDidCommitProvisionalLoad(const IPC::Message& msg); 460 void OnDidCommitProvisionalLoad(const IPC::Message& msg);
461 void OnDidDropNavigation(); 461 void OnDidDropNavigation();
462 void OnBeforeUnloadACK( 462 void OnBeforeUnloadACK(
463 bool proceed, 463 bool proceed,
464 const base::TimeTicks& renderer_before_unload_start_time, 464 const base::TimeTicks& renderer_before_unload_start_time,
465 const base::TimeTicks& renderer_before_unload_end_time); 465 const base::TimeTicks& renderer_before_unload_end_time);
466 void OnSwapOutACK(); 466 void OnSwapOutACK();
467 void OnRenderProcessGone(int status, int error_code);
467 void OnContextMenu(const ContextMenuParams& params); 468 void OnContextMenu(const ContextMenuParams& params);
468 void OnJavaScriptExecuteResponse(int id, const base::ListValue& result); 469 void OnJavaScriptExecuteResponse(int id, const base::ListValue& result);
469 void OnFlushVisualStateResponse(uint64 id); 470 void OnFlushVisualStateResponse(uint64 id);
470 void OnRunJavaScriptMessage(const base::string16& message, 471 void OnRunJavaScriptMessage(const base::string16& message,
471 const base::string16& default_prompt, 472 const base::string16& default_prompt,
472 const GURL& frame_url, 473 const GURL& frame_url,
473 JavaScriptMessageType type, 474 JavaScriptMessageType type,
474 IPC::Message* reply_msg); 475 IPC::Message* reply_msg);
475 void OnRunBeforeUnloadConfirm(const GURL& frame_url, 476 void OnRunBeforeUnloadConfirm(const GURL& frame_url,
476 const base::string16& message, 477 const base::string16& message,
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 679
679 // NOTE: This must be the last member. 680 // NOTE: This must be the last member.
680 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 681 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
681 682
682 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 683 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
683 }; 684 };
684 685
685 } // namespace content 686 } // namespace content
686 687
687 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 688 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698