| 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 #include "content/browser/tab_contents/tab_contents.h" | 5 #include "content/browser/tab_contents/tab_contents.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "content/browser/gpu/gpu_data_manager_impl.h" | 23 #include "content/browser/gpu/gpu_data_manager_impl.h" |
| 24 #include "content/browser/gpu/gpu_process_host.h" | 24 #include "content/browser/gpu/gpu_process_host.h" |
| 25 #include "content/browser/host_zoom_map_impl.h" | 25 #include "content/browser/host_zoom_map_impl.h" |
| 26 #include "content/browser/intents/web_intents_dispatcher_impl.h" | 26 #include "content/browser/intents/web_intents_dispatcher_impl.h" |
| 27 #include "content/browser/load_from_memory_cache_details.h" | 27 #include "content/browser/load_from_memory_cache_details.h" |
| 28 #include "content/browser/renderer_host/render_process_host_impl.h" | 28 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 29 #include "content/browser/renderer_host/render_view_host_impl.h" | 29 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 30 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" | 30 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" |
| 31 #include "content/public/browser/resource_request_details.h" | 31 #include "content/public/browser/resource_request_details.h" |
| 32 #include "content/browser/site_instance_impl.h" | 32 #include "content/browser/site_instance_impl.h" |
| 33 #include "content/browser/tab_contents/interstitial_page_impl.h" | 33 #include "content/browser/web_contents/interstitial_page_impl.h" |
| 34 #include "content/browser/tab_contents/navigation_entry_impl.h" | 34 #include "content/browser/web_contents/navigation_entry_impl.h" |
| 35 #include "content/browser/webui/web_ui_impl.h" | 35 #include "content/browser/webui/web_ui_impl.h" |
| 36 #include "content/common/intents_messages.h" | 36 #include "content/common/intents_messages.h" |
| 37 #include "content/common/ssl_status_serialization.h" | 37 #include "content/common/ssl_status_serialization.h" |
| 38 #include "content/common/view_messages.h" | 38 #include "content/common/view_messages.h" |
| 39 #include "content/port/browser/render_widget_host_view_port.h" | 39 #include "content/port/browser/render_widget_host_view_port.h" |
| 40 #include "content/public/browser/browser_context.h" | 40 #include "content/public/browser/browser_context.h" |
| 41 #include "content/public/browser/color_chooser.h" | 41 #include "content/public/browser/color_chooser.h" |
| 42 #include "content/public/browser/content_browser_client.h" | 42 #include "content/public/browser/content_browser_client.h" |
| 43 #include "content/public/browser/devtools_agent_host_registry.h" | 43 #include "content/public/browser/devtools_agent_host_registry.h" |
| 44 #include "content/public/browser/download_manager.h" | 44 #include "content/public/browser/download_manager.h" |
| (...skipping 2568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2613 void WebContentsImpl::CreateViewAndSetSizeForRVH(RenderViewHost* rvh) { | 2613 void WebContentsImpl::CreateViewAndSetSizeForRVH(RenderViewHost* rvh) { |
| 2614 RenderWidgetHostView* rwh_view = GetView()->CreateViewForWidget(rvh); | 2614 RenderWidgetHostView* rwh_view = GetView()->CreateViewForWidget(rvh); |
| 2615 // Can be NULL during tests. | 2615 // Can be NULL during tests. |
| 2616 if (rwh_view) | 2616 if (rwh_view) |
| 2617 rwh_view->SetSize(GetView()->GetContainerSize()); | 2617 rwh_view->SetSize(GetView()->GetContainerSize()); |
| 2618 } | 2618 } |
| 2619 | 2619 |
| 2620 RenderViewHostImpl* WebContentsImpl::GetRenderViewHostImpl() { | 2620 RenderViewHostImpl* WebContentsImpl::GetRenderViewHostImpl() { |
| 2621 return static_cast<RenderViewHostImpl*>(GetRenderViewHost()); | 2621 return static_cast<RenderViewHostImpl*>(GetRenderViewHost()); |
| 2622 } | 2622 } |
| OLD | NEW |