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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 #include "ipc/ipc_channel.h" | 123 #include "ipc/ipc_channel.h" |
124 #include "ipc/ipc_logging.h" | 124 #include "ipc/ipc_logging.h" |
125 #include "ipc/ipc_platform_file.h" | 125 #include "ipc/ipc_platform_file.h" |
126 #include "ipc/ipc_switches.h" | 126 #include "ipc/ipc_switches.h" |
127 #include "media/base/media_switches.h" | 127 #include "media/base/media_switches.h" |
128 #include "net/url_request/url_request_context_getter.h" | 128 #include "net/url_request/url_request_context_getter.h" |
129 #include "ppapi/shared_impl/ppapi_switches.h" | 129 #include "ppapi/shared_impl/ppapi_switches.h" |
130 #include "ui/base/ui_base_switches.h" | 130 #include "ui/base/ui_base_switches.h" |
131 #include "ui/gl/gl_switches.h" | 131 #include "ui/gl/gl_switches.h" |
132 #include "webkit/browser/fileapi/sandbox_file_system_backend.h" | 132 #include "webkit/browser/fileapi/sandbox_file_system_backend.h" |
133 #include "webkit/glue/resource_type.h" | 133 #include "webkit/common/resource_type.h" |
134 #include "webkit/plugins/plugin_switches.h" | 134 #include "webkit/plugins/plugin_switches.h" |
135 | 135 |
136 #if defined(OS_ANDROID) | 136 #if defined(OS_ANDROID) |
137 #include "content/browser/android/vibration_message_filter.h" | 137 #include "content/browser/android/vibration_message_filter.h" |
138 #endif | 138 #endif |
139 | 139 |
140 #if defined(OS_WIN) | 140 #if defined(OS_WIN) |
141 #include "base/win/scoped_com_initializer.h" | 141 #include "base/win/scoped_com_initializer.h" |
142 #include "content/common/font_cache_dispatcher_win.h" | 142 #include "content/common/font_cache_dispatcher_win.h" |
143 #include "content/common/sandbox_win.h" | 143 #include "content/common/sandbox_win.h" |
(...skipping 1657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1801 // Skip widgets in other processes. | 1801 // Skip widgets in other processes. |
1802 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1802 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1803 continue; | 1803 continue; |
1804 | 1804 |
1805 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1805 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1806 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1806 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1807 } | 1807 } |
1808 } | 1808 } |
1809 | 1809 |
1810 } // namespace content | 1810 } // namespace content |
OLD | NEW |