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 // Represents the browser side of the browser <--> renderer communication | 5 // Represents the browser side of the browser <--> renderer communication |
6 // channel. There will be one RenderProcessHost per renderer process. | 6 // channel. There will be one RenderProcessHost per renderer process. |
7 | 7 |
8 #include "content/browser/renderer_host/render_process_host_impl.h" | 8 #include "content/browser/renderer_host/render_process_host_impl.h" |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 #include "content/browser/worker_host/worker_message_filter.h" | 107 #include "content/browser/worker_host/worker_message_filter.h" |
108 #include "content/browser/worker_host/worker_storage_partition.h" | 108 #include "content/browser/worker_host/worker_storage_partition.h" |
109 #include "content/common/child_process_host_impl.h" | 109 #include "content/common/child_process_host_impl.h" |
110 #include "content/common/child_process_messages.h" | 110 #include "content/common/child_process_messages.h" |
111 #include "content/common/gpu/gpu_messages.h" | 111 #include "content/common/gpu/gpu_messages.h" |
112 #include "content/common/resource_messages.h" | 112 #include "content/common/resource_messages.h" |
113 #include "content/common/view_messages.h" | 113 #include "content/common/view_messages.h" |
114 #include "content/port/browser/render_widget_host_view_frame_subscriber.h" | 114 #include "content/port/browser/render_widget_host_view_frame_subscriber.h" |
115 #include "content/public/browser/browser_context.h" | 115 #include "content/public/browser/browser_context.h" |
116 #include "content/public/browser/content_browser_client.h" | 116 #include "content/public/browser/content_browser_client.h" |
| 117 #include "content/public/browser/global_request_id.h" |
117 #include "content/public/browser/notification_service.h" | 118 #include "content/public/browser/notification_service.h" |
118 #include "content/public/browser/notification_types.h" | 119 #include "content/public/browser/notification_types.h" |
119 #include "content/public/browser/render_process_host_factory.h" | 120 #include "content/public/browser/render_process_host_factory.h" |
120 #include "content/public/browser/render_process_host_observer.h" | 121 #include "content/public/browser/render_process_host_observer.h" |
121 #include "content/public/browser/render_widget_host.h" | 122 #include "content/public/browser/render_widget_host.h" |
122 #include "content/public/browser/render_widget_host_iterator.h" | 123 #include "content/public/browser/render_widget_host_iterator.h" |
123 #include "content/public/browser/resource_context.h" | 124 #include "content/public/browser/resource_context.h" |
124 #include "content/public/browser/user_metrics.h" | 125 #include "content/public/browser/user_metrics.h" |
125 #include "content/public/common/content_constants.h" | 126 #include "content/public/common/content_constants.h" |
126 #include "content/public/common/content_switches.h" | 127 #include "content/public/common/content_switches.h" |
(...skipping 1770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1897 // Skip widgets in other processes. | 1898 // Skip widgets in other processes. |
1898 if (widget->GetProcess()->GetID() != GetID()) | 1899 if (widget->GetProcess()->GetID() != GetID()) |
1899 continue; | 1900 continue; |
1900 | 1901 |
1901 RenderViewHost* rvh = RenderViewHost::From(widget); | 1902 RenderViewHost* rvh = RenderViewHost::From(widget); |
1902 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1903 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1903 } | 1904 } |
1904 } | 1905 } |
1905 | 1906 |
1906 } // namespace content | 1907 } // namespace content |
OLD | NEW |