| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 namespace ui { | 54 namespace ui { |
| 55 class AXTree; | 55 class AXTree; |
| 56 struct SelectedFileInfo; | 56 struct SelectedFileInfo; |
| 57 } | 57 } |
| 58 | 58 |
| 59 namespace content { | 59 namespace content { |
| 60 | 60 |
| 61 class BrowserMediaPlayerManager; | 61 class BrowserMediaPlayerManager; |
| 62 class ChildProcessSecurityPolicyImpl; | 62 class ChildProcessSecurityPolicyImpl; |
| 63 class CrossSiteTransferringRequest; |
| 63 class PageState; | 64 class PageState; |
| 64 class RenderWidgetHostDelegate; | 65 class RenderWidgetHostDelegate; |
| 65 class SessionStorageNamespace; | 66 class SessionStorageNamespace; |
| 66 class SessionStorageNamespaceImpl; | 67 class SessionStorageNamespaceImpl; |
| 67 class TestRenderViewHost; | 68 class TestRenderViewHost; |
| 68 class TimeoutMonitor; | 69 class TimeoutMonitor; |
| 69 struct FileChooserParams; | 70 struct FileChooserParams; |
| 70 struct Referrer; | 71 struct Referrer; |
| 71 struct ShowDesktopNotificationHostMsgParams; | 72 struct ShowDesktopNotificationHostMsgParams; |
| 72 | 73 |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 | 319 |
| 319 // The current state of this RVH. | 320 // The current state of this RVH. |
| 320 RenderViewHostImplState rvh_state() const { return rvh_state_; } | 321 RenderViewHostImplState rvh_state() const { return rvh_state_; } |
| 321 | 322 |
| 322 // Called on the pending RenderViewHost when the network response is ready to | 323 // Called on the pending RenderViewHost when the network response is ready to |
| 323 // commit. We should ensure that the old RenderViewHost runs its unload | 324 // commit. We should ensure that the old RenderViewHost runs its unload |
| 324 // handler and determine whether a transfer to a different RenderViewHost is | 325 // handler and determine whether a transfer to a different RenderViewHost is |
| 325 // needed. | 326 // needed. |
| 326 void OnCrossSiteResponse( | 327 void OnCrossSiteResponse( |
| 327 const GlobalRequestID& global_request_id, | 328 const GlobalRequestID& global_request_id, |
| 328 bool is_transfer, | 329 scoped_ptr<CrossSiteTransferringRequest> cross_site_transferring_request, |
| 329 const std::vector<GURL>& transfer_url_chain, | 330 const std::vector<GURL>& transfer_url_chain, |
| 330 const Referrer& referrer, | 331 const Referrer& referrer, |
| 331 PageTransition page_transition, | 332 PageTransition page_transition, |
| 332 int64 frame_id, | 333 int64 frame_id, |
| 333 bool should_replace_current_entry); | 334 bool should_replace_current_entry); |
| 334 | 335 |
| 335 // Tells the renderer that this RenderView will soon be swapped out, and thus | 336 // Tells the renderer that this RenderView will soon be swapped out, and thus |
| 336 // not to create any new modal dialogs until it happens. This must be done | 337 // not to create any new modal dialogs until it happens. This must be done |
| 337 // separately so that the PageGroupLoadDeferrers of any current dialogs are no | 338 // separately so that the PageGroupLoadDeferrers of any current dialogs are no |
| 338 // longer on the stack when we attempt to swap it out. | 339 // longer on the stack when we attempt to swap it out. |
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 765 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 765 }; | 766 }; |
| 766 | 767 |
| 767 #if defined(COMPILER_MSVC) | 768 #if defined(COMPILER_MSVC) |
| 768 #pragma warning(pop) | 769 #pragma warning(pop) |
| 769 #endif | 770 #endif |
| 770 | 771 |
| 771 } // namespace content | 772 } // namespace content |
| 772 | 773 |
| 773 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 774 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |