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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 #include "gpu/command_buffer/service/gpu_switches.h" | 120 #include "gpu/command_buffer/service/gpu_switches.h" |
121 #include "ipc/ipc_channel.h" | 121 #include "ipc/ipc_channel.h" |
122 #include "ipc/ipc_logging.h" | 122 #include "ipc/ipc_logging.h" |
123 #include "ipc/ipc_platform_file.h" | 123 #include "ipc/ipc_platform_file.h" |
124 #include "ipc/ipc_switches.h" | 124 #include "ipc/ipc_switches.h" |
125 #include "media/base/media_switches.h" | 125 #include "media/base/media_switches.h" |
126 #include "net/url_request/url_request_context_getter.h" | 126 #include "net/url_request/url_request_context_getter.h" |
127 #include "ppapi/shared_impl/ppapi_switches.h" | 127 #include "ppapi/shared_impl/ppapi_switches.h" |
128 #include "ui/base/ui_base_switches.h" | 128 #include "ui/base/ui_base_switches.h" |
129 #include "ui/gl/gl_switches.h" | 129 #include "ui/gl/gl_switches.h" |
130 #include "webkit/browser/fileapi/sandbox_mount_point_provider.h" | 130 #include "webkit/browser/fileapi/sandbox_file_system_backend.h" |
131 #include "webkit/glue/resource_type.h" | 131 #include "webkit/glue/resource_type.h" |
132 #include "webkit/plugins/plugin_switches.h" | 132 #include "webkit/plugins/plugin_switches.h" |
133 | 133 |
134 #if defined(OS_WIN) | 134 #if defined(OS_WIN) |
135 #include "base/win/scoped_com_initializer.h" | 135 #include "base/win/scoped_com_initializer.h" |
136 #include "content/common/font_cache_dispatcher_win.h" | 136 #include "content/common/font_cache_dispatcher_win.h" |
137 #include "content/common/sandbox_win.h" | 137 #include "content/common/sandbox_win.h" |
138 #include "content/public/common/sandboxed_process_launcher_delegate.h" | 138 #include "content/public/common/sandboxed_process_launcher_delegate.h" |
139 #endif | 139 #endif |
140 | 140 |
(...skipping 1635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1776 // Skip widgets in other processes. | 1776 // Skip widgets in other processes. |
1777 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1777 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1778 continue; | 1778 continue; |
1779 | 1779 |
1780 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1780 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1781 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1781 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1782 } | 1782 } |
1783 } | 1783 } |
1784 | 1784 |
1785 } // namespace content | 1785 } // namespace content |
OLD | NEW |