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

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

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