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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 #include "content/public/common/url_constants.h" | 122 #include "content/public/common/url_constants.h" |
123 #include "gpu/command_buffer/service/gpu_switches.h" | 123 #include "gpu/command_buffer/service/gpu_switches.h" |
124 #include "ipc/ipc_channel.h" | 124 #include "ipc/ipc_channel.h" |
125 #include "ipc/ipc_logging.h" | 125 #include "ipc/ipc_logging.h" |
126 #include "ipc/ipc_platform_file.h" | 126 #include "ipc/ipc_platform_file.h" |
127 #include "ipc/ipc_switches.h" | 127 #include "ipc/ipc_switches.h" |
128 #include "media/base/media_switches.h" | 128 #include "media/base/media_switches.h" |
129 #include "net/url_request/url_request_context_getter.h" | 129 #include "net/url_request/url_request_context_getter.h" |
130 #include "ppapi/shared_impl/ppapi_switches.h" | 130 #include "ppapi/shared_impl/ppapi_switches.h" |
131 #include "ui/base/ui_base_switches.h" | 131 #include "ui/base/ui_base_switches.h" |
| 132 #include "ui/gfx/switches.h" |
132 #include "ui/gl/gl_switches.h" | 133 #include "ui/gl/gl_switches.h" |
133 #include "webkit/browser/fileapi/sandbox_file_system_backend.h" | 134 #include "webkit/browser/fileapi/sandbox_file_system_backend.h" |
134 #include "webkit/common/resource_type.h" | 135 #include "webkit/common/resource_type.h" |
135 | 136 |
136 #if defined(OS_ANDROID) | 137 #if defined(OS_ANDROID) |
137 #include "content/browser/android/vibration_message_filter.h" | 138 #include "content/browser/android/vibration_message_filter.h" |
138 #endif | 139 #endif |
139 | 140 |
140 #if defined(OS_WIN) | 141 #if defined(OS_WIN) |
141 #include "base/win/scoped_com_initializer.h" | 142 #include "base/win/scoped_com_initializer.h" |
(...skipping 1642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1784 // Skip widgets in other processes. | 1785 // Skip widgets in other processes. |
1785 if (widget->GetProcess()->GetID() != GetID()) | 1786 if (widget->GetProcess()->GetID() != GetID()) |
1786 continue; | 1787 continue; |
1787 | 1788 |
1788 RenderViewHost* rvh = RenderViewHost::From(widget); | 1789 RenderViewHost* rvh = RenderViewHost::From(widget); |
1789 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1790 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1790 } | 1791 } |
1791 } | 1792 } |
1792 | 1793 |
1793 } // namespace content | 1794 } // namespace content |
OLD | NEW |