| 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 #include "content/browser/frame_host/render_frame_host_manager.h" | 5 #include "content/browser/frame_host/render_frame_host_manager.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 #include "content/browser/site_instance_impl.h" | 37 #include "content/browser/site_instance_impl.h" |
| 38 #include "content/browser/webui/web_ui_controller_factory_registry.h" | 38 #include "content/browser/webui/web_ui_controller_factory_registry.h" |
| 39 #include "content/common/frame_messages.h" | 39 #include "content/common/frame_messages.h" |
| 40 #include "content/common/frame_owner_properties.h" | 40 #include "content/common/frame_owner_properties.h" |
| 41 #include "content/common/site_isolation_policy.h" | 41 #include "content/common/site_isolation_policy.h" |
| 42 #include "content/common/view_messages.h" | 42 #include "content/common/view_messages.h" |
| 43 #include "content/public/browser/content_browser_client.h" | 43 #include "content/public/browser/content_browser_client.h" |
| 44 #include "content/public/browser/render_process_host_observer.h" | 44 #include "content/public/browser/render_process_host_observer.h" |
| 45 #include "content/public/browser/render_widget_host_iterator.h" | 45 #include "content/public/browser/render_widget_host_iterator.h" |
| 46 #include "content/public/browser/render_widget_host_view.h" | 46 #include "content/public/browser/render_widget_host_view.h" |
| 47 #include "content/public/browser/user_metrics.h" | |
| 48 #include "content/public/common/browser_side_navigation_policy.h" | 47 #include "content/public/common/browser_side_navigation_policy.h" |
| 49 #include "content/public/common/content_switches.h" | 48 #include "content/public/common/content_switches.h" |
| 50 #include "content/public/common/referrer.h" | 49 #include "content/public/common/referrer.h" |
| 51 #include "content/public/common/url_constants.h" | 50 #include "content/public/common/url_constants.h" |
| 52 | 51 |
| 53 namespace content { | 52 namespace content { |
| 54 | 53 |
| 55 RenderFrameHostManager::RenderFrameHostManager( | 54 RenderFrameHostManager::RenderFrameHostManager( |
| 56 FrameTreeNode* frame_tree_node, | 55 FrameTreeNode* frame_tree_node, |
| 57 RenderFrameHostDelegate* render_frame_delegate, | 56 RenderFrameHostDelegate* render_frame_delegate, |
| (...skipping 2744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2802 delegate_->IsHidden()) { | 2801 delegate_->IsHidden()) { |
| 2803 if (delegate_->IsHidden()) { | 2802 if (delegate_->IsHidden()) { |
| 2804 render_frame_host_->GetView()->Hide(); | 2803 render_frame_host_->GetView()->Hide(); |
| 2805 } else { | 2804 } else { |
| 2806 render_frame_host_->GetView()->Show(); | 2805 render_frame_host_->GetView()->Show(); |
| 2807 } | 2806 } |
| 2808 } | 2807 } |
| 2809 } | 2808 } |
| 2810 | 2809 |
| 2811 } // namespace content | 2810 } // namespace content |
| OLD | NEW |