| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 void CopyImageAt(int x, int y) override; | 154 void CopyImageAt(int x, int y) override; |
| 155 void SaveImageAt(int x, int y) override; | 155 void SaveImageAt(int x, int y) override; |
| 156 RenderViewHost* GetRenderViewHost() override; | 156 RenderViewHost* GetRenderViewHost() override; |
| 157 shell::InterfaceRegistry* GetInterfaceRegistry() override; | 157 shell::InterfaceRegistry* GetInterfaceRegistry() override; |
| 158 shell::InterfaceProvider* GetRemoteInterfaces() override; | 158 shell::InterfaceProvider* GetRemoteInterfaces() override; |
| 159 blink::WebPageVisibilityState GetVisibilityState() override; | 159 blink::WebPageVisibilityState GetVisibilityState() override; |
| 160 bool IsRenderFrameLive() override; | 160 bool IsRenderFrameLive() override; |
| 161 int GetProxyCount() override; | 161 int GetProxyCount() override; |
| 162 void FilesSelectedInChooser(const std::vector<FileChooserFileInfo>& files, | 162 void FilesSelectedInChooser(const std::vector<FileChooserFileInfo>& files, |
| 163 FileChooserParams::Mode permissions) override; | 163 FileChooserParams::Mode permissions) override; |
| 164 void RequestTextSurroundingSelection( |
| 165 const TextSurroundingSelectionCallback& callback, |
| 166 int max_length) override; |
| 164 | 167 |
| 165 // mojom::FrameHost | 168 // mojom::FrameHost |
| 166 void GetInterfaceProvider( | 169 void GetInterfaceProvider( |
| 167 shell::mojom::InterfaceProviderRequest interfaces) override; | 170 shell::mojom::InterfaceProviderRequest interfaces) override; |
| 168 | 171 |
| 169 // IPC::Sender | 172 // IPC::Sender |
| 170 bool Send(IPC::Message* msg) override; | 173 bool Send(IPC::Message* msg) override; |
| 171 | 174 |
| 172 // IPC::Listener | 175 // IPC::Listener |
| 173 bool OnMessageReceived(const IPC::Message& msg) override; | 176 bool OnMessageReceived(const IPC::Message& msg) override; |
| (...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1030 bool should_reuse_web_ui_; | 1033 bool should_reuse_web_ui_; |
| 1031 | 1034 |
| 1032 // PlzNavigate: The LoFi state of the last navigation. This is used during | 1035 // PlzNavigate: The LoFi state of the last navigation. This is used during |
| 1033 // history navigation of subframes to ensure that subframes navigate with the | 1036 // history navigation of subframes to ensure that subframes navigate with the |
| 1034 // same LoFi status as the top-level frame. | 1037 // same LoFi status as the top-level frame. |
| 1035 LoFiState last_navigation_lofi_state_; | 1038 LoFiState last_navigation_lofi_state_; |
| 1036 | 1039 |
| 1037 mojo::Binding<mojom::FrameHost> frame_host_binding_; | 1040 mojo::Binding<mojom::FrameHost> frame_host_binding_; |
| 1038 mojom::FramePtr frame_; | 1041 mojom::FramePtr frame_; |
| 1039 | 1042 |
| 1043 // Callback for responding when |
| 1044 // |FrameHostMsg_TextSurroundingSelectionResponse| message comes. |
| 1045 TextSurroundingSelectionCallback text_surrounding_selection_callback_; |
| 1046 |
| 1040 // NOTE: This must be the last member. | 1047 // NOTE: This must be the last member. |
| 1041 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1048 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 1042 | 1049 |
| 1043 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1050 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 1044 }; | 1051 }; |
| 1045 | 1052 |
| 1046 } // namespace content | 1053 } // namespace content |
| 1047 | 1054 |
| 1048 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1055 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |