| 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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 void ForwardGetInterfaceToRenderFrame(const std::string& interface_name, | 782 void ForwardGetInterfaceToRenderFrame(const std::string& interface_name, |
| 783 mojo::ScopedMessagePipeHandle pipe); | 783 mojo::ScopedMessagePipeHandle pipe); |
| 784 #endif | 784 #endif |
| 785 void OnShowCreatedWindow(int pending_widget_routing_id, | 785 void OnShowCreatedWindow(int pending_widget_routing_id, |
| 786 WindowOpenDisposition disposition, | 786 WindowOpenDisposition disposition, |
| 787 const gfx::Rect& initial_rect, | 787 const gfx::Rect& initial_rect, |
| 788 bool user_gesture); | 788 bool user_gesture); |
| 789 | 789 |
| 790 // mojom::FrameHost | 790 // mojom::FrameHost |
| 791 void CreateNewWindow(mojom::CreateNewWindowParamsPtr params, | 791 void CreateNewWindow(mojom::CreateNewWindowParamsPtr params, |
| 792 const CreateNewWindowCallback& callback) override; | 792 CreateNewWindowCallback callback) override; |
| 793 | 793 |
| 794 void RunCreateWindowCompleteCallback(const CreateNewWindowCallback& callback, | 794 void RunCreateWindowCompleteCallback(CreateNewWindowCallback callback, |
| 795 mojom::CreateNewWindowReplyPtr reply, | 795 mojom::CreateNewWindowReplyPtr reply, |
| 796 int render_view_route_id, | 796 int render_view_route_id, |
| 797 int main_frame_route_id, | 797 int main_frame_route_id, |
| 798 int main_frame_widget_route_id, | 798 int main_frame_widget_route_id, |
| 799 int cloned_session_storage_namespace_id); | 799 int cloned_session_storage_namespace_id); |
| 800 | 800 |
| 801 // Registers Mojo interfaces that this frame host makes available. | 801 // Registers Mojo interfaces that this frame host makes available. |
| 802 void RegisterMojoInterfaces(); | 802 void RegisterMojoInterfaces(); |
| 803 | 803 |
| 804 // Resets any waiting state of this RenderFrameHost that is no longer | 804 // Resets any waiting state of this RenderFrameHost that is no longer |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1186 | 1186 |
| 1187 // NOTE: This must be the last member. | 1187 // NOTE: This must be the last member. |
| 1188 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1188 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 1189 | 1189 |
| 1190 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1190 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 1191 }; | 1191 }; |
| 1192 | 1192 |
| 1193 } // namespace content | 1193 } // namespace content |
| 1194 | 1194 |
| 1195 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1195 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |