OLD | NEW |
---|---|
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 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/process/kill.h" | |
Charlie Reis
2015/02/03 01:06:35
What's this needed for? Maybe it just goes in the
nasko
2015/02/04 16:51:31
Done.
| |
15 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
16 #include "base/time/time.h" | 17 #include "base/time/time.h" |
17 #include "content/browser/accessibility/browser_accessibility_manager.h" | 18 #include "content/browser/accessibility/browser_accessibility_manager.h" |
18 #include "content/browser/site_instance_impl.h" | 19 #include "content/browser/site_instance_impl.h" |
19 #include "content/common/accessibility_mode_enums.h" | 20 #include "content/common/accessibility_mode_enums.h" |
20 #include "content/common/content_export.h" | 21 #include "content/common/content_export.h" |
21 #include "content/common/frame_message_enums.h" | 22 #include "content/common/frame_message_enums.h" |
22 #include "content/common/frame_replication_state.h" | 23 #include "content/common/frame_replication_state.h" |
23 #include "content/common/mojo/service_registry_impl.h" | 24 #include "content/common/mojo/service_registry_impl.h" |
24 #include "content/public/browser/render_frame_host.h" | 25 #include "content/public/browser/render_frame_host.h" |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
452 const GURL& url, | 453 const GURL& url, |
453 int error_code, | 454 int error_code, |
454 const base::string16& error_description); | 455 const base::string16& error_description); |
455 void OnDidCommitProvisionalLoad(const IPC::Message& msg); | 456 void OnDidCommitProvisionalLoad(const IPC::Message& msg); |
456 void OnDidDropNavigation(); | 457 void OnDidDropNavigation(); |
457 void OnBeforeUnloadACK( | 458 void OnBeforeUnloadACK( |
458 bool proceed, | 459 bool proceed, |
459 const base::TimeTicks& renderer_before_unload_start_time, | 460 const base::TimeTicks& renderer_before_unload_start_time, |
460 const base::TimeTicks& renderer_before_unload_end_time); | 461 const base::TimeTicks& renderer_before_unload_end_time); |
461 void OnSwapOutACK(); | 462 void OnSwapOutACK(); |
463 void OnRenderProcessGone(int status, int error_code); | |
462 void OnContextMenu(const ContextMenuParams& params); | 464 void OnContextMenu(const ContextMenuParams& params); |
463 void OnJavaScriptExecuteResponse(int id, const base::ListValue& result); | 465 void OnJavaScriptExecuteResponse(int id, const base::ListValue& result); |
464 void OnRunJavaScriptMessage(const base::string16& message, | 466 void OnRunJavaScriptMessage(const base::string16& message, |
465 const base::string16& default_prompt, | 467 const base::string16& default_prompt, |
466 const GURL& frame_url, | 468 const GURL& frame_url, |
467 JavaScriptMessageType type, | 469 JavaScriptMessageType type, |
468 IPC::Message* reply_msg); | 470 IPC::Message* reply_msg); |
469 void OnRunBeforeUnloadConfirm(const GURL& frame_url, | 471 void OnRunBeforeUnloadConfirm(const GURL& frame_url, |
470 const base::string16& message, | 472 const base::string16& message, |
471 bool is_reload, | 473 bool is_reload, |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
667 | 669 |
668 // NOTE: This must be the last member. | 670 // NOTE: This must be the last member. |
669 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 671 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
670 | 672 |
671 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 673 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
672 }; | 674 }; |
673 | 675 |
674 } // namespace content | 676 } // namespace content |
675 | 677 |
676 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 678 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |