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

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

Issue 2510753002: Revert of Make printing work better with OOPIF. (Closed)
Patch Set: Created 4 years, 1 month 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 void SaveImageAt(int x, int y) override; 156 void SaveImageAt(int x, int y) override;
157 RenderViewHost* GetRenderViewHost() override; 157 RenderViewHost* GetRenderViewHost() override;
158 service_manager::InterfaceRegistry* GetInterfaceRegistry() override; 158 service_manager::InterfaceRegistry* GetInterfaceRegistry() override;
159 service_manager::InterfaceProvider* GetRemoteInterfaces() override; 159 service_manager::InterfaceProvider* GetRemoteInterfaces() override;
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;
167 void RequestTextSurroundingSelection( 166 void RequestTextSurroundingSelection(
168 const TextSurroundingSelectionCallback& callback, 167 const TextSurroundingSelectionCallback& callback,
169 int max_length) override; 168 int max_length) override;
170 169
171 // mojom::FrameHost 170 // mojom::FrameHost
172 void GetInterfaceProvider( 171 void GetInterfaceProvider(
173 service_manager::mojom::InterfaceProviderRequest interfaces) override; 172 service_manager::mojom::InterfaceProviderRequest interfaces) override;
174 173
175 // IPC::Sender 174 // IPC::Sender
176 bool Send(IPC::Message* msg) override; 175 bool Send(IPC::Message* msg) override;
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
1030 // The pending WebUIImpl and its type. These values will be used exclusively 1029 // The pending WebUIImpl and its type. These values will be used exclusively
1031 // for same-site navigations to keep a transition of a WebUI in a pending 1030 // for same-site navigations to keep a transition of a WebUI in a pending
1032 // state until the navigation commits. 1031 // state until the navigation commits.
1033 std::unique_ptr<WebUIImpl> pending_web_ui_; 1032 std::unique_ptr<WebUIImpl> pending_web_ui_;
1034 WebUI::TypeID pending_web_ui_type_; 1033 WebUI::TypeID pending_web_ui_type_;
1035 1034
1036 // If true the associated WebUI should be reused when CommitPendingWebUI is 1035 // If true the associated WebUI should be reused when CommitPendingWebUI is
1037 // called (no pending instance should be set). 1036 // called (no pending instance should be set).
1038 bool should_reuse_web_ui_; 1037 bool should_reuse_web_ui_;
1039 1038
1040 // If true, then the RenderFrame has selected text.
1041 bool has_selection_;
1042
1043 // PlzNavigate: The LoFi state of the last navigation. This is used during 1039 // PlzNavigate: The LoFi state of the last navigation. This is used during
1044 // history navigation of subframes to ensure that subframes navigate with the 1040 // history navigation of subframes to ensure that subframes navigate with the
1045 // same LoFi status as the top-level frame. 1041 // same LoFi status as the top-level frame.
1046 LoFiState last_navigation_lofi_state_; 1042 LoFiState last_navigation_lofi_state_;
1047 1043
1048 mojo::Binding<mojom::FrameHost> frame_host_binding_; 1044 mojo::Binding<mojom::FrameHost> frame_host_binding_;
1049 mojom::FramePtr frame_; 1045 mojom::FramePtr frame_;
1050 1046
1051 // If this is true then this object was created in response to a renderer 1047 // If this is true then this object was created in response to a renderer
1052 // initiated request. Init() will be called, and until then navigation 1048 // initiated request. Init() will be called, and until then navigation
(...skipping 15 matching lines...) Expand all
1068 remote_associated_interfaces_; 1064 remote_associated_interfaces_;
1069 // NOTE: This must be the last member. 1065 // NOTE: This must be the last member.
1070 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1066 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1071 1067
1072 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1068 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1073 }; 1069 };
1074 1070
1075 } // namespace content 1071 } // namespace content
1076 1072
1077 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1073 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « components/printing/test/print_web_view_helper_browsertest.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698