Chromium Code Reviews| 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 |
| (...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 660 // is for closing the entire tab ( = false), or only this RenderFrameHost in | 660 // is for closing the entire tab ( = false), or only this RenderFrameHost in |
| 661 // the case of a navigation ( = true). Currently only cross-site navigations | 661 // the case of a navigation ( = true). Currently only cross-site navigations |
| 662 // require a beforeUnload/unload ACK. | 662 // require a beforeUnload/unload ACK. |
| 663 // PlzNavigate: all navigations require a beforeUnload ACK. | 663 // PlzNavigate: all navigations require a beforeUnload ACK. |
| 664 bool unload_ack_is_for_navigation_; | 664 bool unload_ack_is_for_navigation_; |
| 665 | 665 |
| 666 // Indicates whether this RenderFrameHost is in the process of loading a | 666 // Indicates whether this RenderFrameHost is in the process of loading a |
| 667 // document or not. | 667 // document or not. |
| 668 bool is_loading_; | 668 bool is_loading_; |
| 669 | 669 |
| 670 // PlzNavigate | |
| 671 // Used to track whether a commit is expected in this frame. | |
|
Charlie Reis
2015/04/15 21:54:17
Let's mention that this is only used in tests.
clamy
2015/04/16 13:18:35
Done.
| |
| 672 bool pending_commit_; | |
| 673 | |
| 670 // Used to swap out or shut down this RFH when the unload event is taking too | 674 // Used to swap out or shut down this RFH when the unload event is taking too |
| 671 // long to execute, depending on the number of active frames in the | 675 // long to execute, depending on the number of active frames in the |
| 672 // SiteInstance. | 676 // SiteInstance. |
| 673 scoped_ptr<TimeoutMonitor> swapout_event_monitor_timeout_; | 677 scoped_ptr<TimeoutMonitor> swapout_event_monitor_timeout_; |
| 674 | 678 |
| 675 scoped_ptr<ServiceRegistryImpl> service_registry_; | 679 scoped_ptr<ServiceRegistryImpl> service_registry_; |
| 676 | 680 |
| 677 #if defined(OS_ANDROID) | 681 #if defined(OS_ANDROID) |
| 678 scoped_ptr<ServiceRegistryAndroid> service_registry_android_; | 682 scoped_ptr<ServiceRegistryAndroid> service_registry_android_; |
| 679 #endif | 683 #endif |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 711 | 715 |
| 712 // NOTE: This must be the last member. | 716 // NOTE: This must be the last member. |
| 713 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 717 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 714 | 718 |
| 715 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 719 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 716 }; | 720 }; |
| 717 | 721 |
| 718 } // namespace content | 722 } // namespace content |
| 719 | 723 |
| 720 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 724 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |