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

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

Issue 2513333002: Revert of Extracting placeholder information from Webkit to Blimp (Closed)
Patch Set: Created 4 years 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() override; 160 AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() override;
161 blink::WebPageVisibilityState GetVisibilityState() override; 161 blink::WebPageVisibilityState GetVisibilityState() override;
162 bool IsRenderFrameLive() override; 162 bool IsRenderFrameLive() override;
163 int GetProxyCount() override; 163 int GetProxyCount() override;
164 void FilesSelectedInChooser(const std::vector<FileChooserFileInfo>& files, 164 void FilesSelectedInChooser(const std::vector<FileChooserFileInfo>& files,
165 FileChooserParams::Mode permissions) override; 165 FileChooserParams::Mode permissions) override;
166 bool HasSelection() override; 166 bool HasSelection() override;
167 void RequestTextSurroundingSelection( 167 void RequestTextSurroundingSelection(
168 const TextSurroundingSelectionCallback& callback, 168 const TextSurroundingSelectionCallback& callback,
169 int max_length) override; 169 int max_length) override;
170 void RequestFocusedFormFieldData(FormFieldDataCallback& callback) override;
171 170
172 // mojom::FrameHost 171 // mojom::FrameHost
173 void GetInterfaceProvider( 172 void GetInterfaceProvider(
174 service_manager::mojom::InterfaceProviderRequest interfaces) override; 173 service_manager::mojom::InterfaceProviderRequest interfaces) override;
175 174
176 // IPC::Sender 175 // IPC::Sender
177 bool Send(IPC::Message* msg) override; 176 bool Send(IPC::Message* msg) override;
178 177
179 // IPC::Listener 178 // IPC::Listener
180 bool OnMessageReceived(const IPC::Message& msg) override; 179 bool OnMessageReceived(const IPC::Message& msg) override;
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 const GURL& frame_url, 651 const GURL& frame_url,
653 JavaScriptMessageType type, 652 JavaScriptMessageType type,
654 IPC::Message* reply_msg); 653 IPC::Message* reply_msg);
655 void OnRunBeforeUnloadConfirm(const GURL& frame_url, 654 void OnRunBeforeUnloadConfirm(const GURL& frame_url,
656 bool is_reload, 655 bool is_reload,
657 IPC::Message* reply_msg); 656 IPC::Message* reply_msg);
658 void OnRunFileChooser(const FileChooserParams& params); 657 void OnRunFileChooser(const FileChooserParams& params);
659 void OnTextSurroundingSelectionResponse(const base::string16& content, 658 void OnTextSurroundingSelectionResponse(const base::string16& content,
660 uint32_t start_offset, 659 uint32_t start_offset,
661 uint32_t end_offset); 660 uint32_t end_offset);
662 void OnFocusedFormFieldDataResponse(int request_id,
663 const FormFieldData& field_data);
664 void OnDidAccessInitialDocument(); 661 void OnDidAccessInitialDocument();
665 void OnDidChangeOpener(int32_t opener_routing_id); 662 void OnDidChangeOpener(int32_t opener_routing_id);
666 void OnDidChangeName(const std::string& name, const std::string& unique_name); 663 void OnDidChangeName(const std::string& name, const std::string& unique_name);
667 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); 664 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header);
668 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); 665 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy);
669 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); 666 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin);
670 void OnDidChangeSandboxFlags(int32_t frame_routing_id, 667 void OnDidChangeSandboxFlags(int32_t frame_routing_id,
671 blink::WebSandboxFlags flags); 668 blink::WebSandboxFlags flags);
672 void OnDidChangeFrameOwnerProperties(int32_t frame_routing_id, 669 void OnDidChangeFrameOwnerProperties(int32_t frame_routing_id,
673 const FrameOwnerProperties& properties); 670 const FrameOwnerProperties& properties);
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 // The most recent non-error URL to commit in this frame. Remove this in 871 // The most recent non-error URL to commit in this frame. Remove this in
875 // favor of GetLastCommittedURL() once PlzNavigate is enabled or cross-process 872 // favor of GetLastCommittedURL() once PlzNavigate is enabled or cross-process
876 // transfers work for net errors. See https://crbug.com/588314. 873 // transfers work for net errors. See https://crbug.com/588314.
877 GURL last_successful_url_; 874 GURL last_successful_url_;
878 875
879 // The mapping of pending JavaScript calls created by 876 // The mapping of pending JavaScript calls created by
880 // ExecuteJavaScript and their corresponding callbacks. 877 // ExecuteJavaScript and their corresponding callbacks.
881 std::map<int, JavaScriptResultCallback> javascript_callbacks_; 878 std::map<int, JavaScriptResultCallback> javascript_callbacks_;
882 std::map<uint64_t, VisualStateCallback> visual_state_callbacks_; 879 std::map<uint64_t, VisualStateCallback> visual_state_callbacks_;
883 880
884 // Callbacks for getting text input info.
885 std::map<int, FormFieldDataCallback> form_field_data_callbacks_;
886
887 // RenderFrameHosts that need management of the rendering and input events 881 // RenderFrameHosts that need management of the rendering and input events
888 // for their frame subtrees require RenderWidgetHosts. This typically 882 // for their frame subtrees require RenderWidgetHosts. This typically
889 // means frames that are rendered in different processes from their parent 883 // means frames that are rendered in different processes from their parent
890 // frames. 884 // frames.
891 // TODO(kenrb): Later this will also be used on the top-level frame, when 885 // TODO(kenrb): Later this will also be used on the top-level frame, when
892 // RenderFrameHost owns its RenderViewHost. 886 // RenderFrameHost owns its RenderViewHost.
893 RenderWidgetHostImpl* render_widget_host_; 887 RenderWidgetHostImpl* render_widget_host_;
894 888
895 int routing_id_; 889 int routing_id_;
896 890
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 remote_associated_interfaces_; 1064 remote_associated_interfaces_;
1071 // NOTE: This must be the last member. 1065 // NOTE: This must be the last member.
1072 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1066 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1073 1067
1074 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1068 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1075 }; 1069 };
1076 1070
1077 } // namespace content 1071 } // namespace content
1078 1072
1079 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1073 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698