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

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

Issue 2737553003: Remove ChildProcess.HangRendererType. (Closed)
Patch Set: rebase on new version Created 3 years, 9 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 20 matching lines...) Expand all
31 #include "content/common/ax_content_node_data.h" 31 #include "content/common/ax_content_node_data.h"
32 #include "content/common/content_export.h" 32 #include "content/common/content_export.h"
33 #include "content/common/content_security_policy/content_security_policy.h" 33 #include "content/common/content_security_policy/content_security_policy.h"
34 #include "content/common/download/mhtml_save_status.h" 34 #include "content/common/download/mhtml_save_status.h"
35 #include "content/common/frame.mojom.h" 35 #include "content/common/frame.mojom.h"
36 #include "content/common/frame_message_enums.h" 36 #include "content/common/frame_message_enums.h"
37 #include "content/common/frame_replication_state.h" 37 #include "content/common/frame_replication_state.h"
38 #include "content/common/image_downloader/image_downloader.mojom.h" 38 #include "content/common/image_downloader/image_downloader.mojom.h"
39 #include "content/common/navigation_params.h" 39 #include "content/common/navigation_params.h"
40 #include "content/public/browser/render_frame_host.h" 40 #include "content/public/browser/render_frame_host.h"
41 #include "content/public/browser/renderer_unresponsive_type.h"
42 #include "content/public/common/javascript_dialog_type.h" 41 #include "content/public/common/javascript_dialog_type.h"
43 #include "content/public/common/previews_state.h" 42 #include "content/public/common/previews_state.h"
44 #include "media/mojo/interfaces/interface_factory.mojom.h" 43 #include "media/mojo/interfaces/interface_factory.mojom.h"
45 #include "net/http/http_response_headers.h" 44 #include "net/http/http_response_headers.h"
46 #include "services/service_manager/public/cpp/interface_factory.h" 45 #include "services/service_manager/public/cpp/interface_factory.h"
47 #include "services/service_manager/public/cpp/interface_registry.h" 46 #include "services/service_manager/public/cpp/interface_registry.h"
48 #include "third_party/WebKit/public/platform/WebFocusType.h" 47 #include "third_party/WebKit/public/platform/WebFocusType.h"
49 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" 48 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h"
50 #include "third_party/WebKit/public/web/WebTextDirection.h" 49 #include "third_party/WebKit/public/web/WebTextDirection.h"
51 #include "third_party/WebKit/public/web/WebTreeScopeType.h" 50 #include "third_party/WebKit/public/web/WebTreeScopeType.h"
(...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after
984 // the case of a navigation ( = true). Currently only cross-site navigations 983 // the case of a navigation ( = true). Currently only cross-site navigations
985 // require a beforeUnload/unload ACK. 984 // require a beforeUnload/unload ACK.
986 // PlzNavigate: all navigations require a beforeUnload ACK. 985 // PlzNavigate: all navigations require a beforeUnload ACK.
987 bool unload_ack_is_for_navigation_; 986 bool unload_ack_is_for_navigation_;
988 987
989 // The timeout monitor that runs from when the beforeunload is started in 988 // The timeout monitor that runs from when the beforeunload is started in
990 // DispatchBeforeUnload() until either the render process ACKs it with an IPC 989 // DispatchBeforeUnload() until either the render process ACKs it with an IPC
991 // to OnBeforeUnloadACK(), or until the timeout triggers. 990 // to OnBeforeUnloadACK(), or until the timeout triggers.
992 std::unique_ptr<TimeoutMonitor> beforeunload_timeout_; 991 std::unique_ptr<TimeoutMonitor> beforeunload_timeout_;
993 992
994 // If beforeunload_timeout_ is active, the type of the timeout.
995 RendererUnresponsiveType beforeunload_timeout_type_;
996
997 // Indicates whether this RenderFrameHost is in the process of loading a 993 // Indicates whether this RenderFrameHost is in the process of loading a
998 // document or not. 994 // document or not.
999 bool is_loading_; 995 bool is_loading_;
1000 996
1001 // PlzNavigate 997 // PlzNavigate
1002 // Used to track whether a commit is expected in this frame. Only used in 998 // Used to track whether a commit is expected in this frame. Only used in
1003 // tests. 999 // tests.
1004 bool pending_commit_; 1000 bool pending_commit_;
1005 1001
1006 // The unique ID of the latest NavigationEntry that this RenderFrameHost is 1002 // The unique ID of the latest NavigationEntry that this RenderFrameHost is
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
1140 1136
1141 // NOTE: This must be the last member. 1137 // NOTE: This must be the last member.
1142 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1138 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1143 1139
1144 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1140 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1145 }; 1141 };
1146 1142
1147 } // namespace content 1143 } // namespace content
1148 1144
1149 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1145 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698