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 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1111 #if !defined (GOOGLE_CHROME_BUILD) | 1111 #if !defined (GOOGLE_CHROME_BUILD) |
1112 // These are unsupported and not fully tested modes, so don't enable them | 1112 // These are unsupported and not fully tested modes, so don't enable them |
1113 // for official Google Chrome builds. | 1113 // for official Google Chrome builds. |
1114 switches::kInProcessPlugins, | 1114 switches::kInProcessPlugins, |
1115 #endif // GOOGLE_CHROME_BUILD | 1115 #endif // GOOGLE_CHROME_BUILD |
1116 #if defined(GOOGLE_TV) | 1116 #if defined(GOOGLE_TV) |
1117 switches::kUseExternalVideoSurfaceThresholdInPixels, | 1117 switches::kUseExternalVideoSurfaceThresholdInPixels, |
1118 #endif | 1118 #endif |
1119 #if defined(OS_ANDROID) | 1119 #if defined(OS_ANDROID) |
1120 switches::kDisableGestureRequirementForMediaPlayback, | 1120 switches::kDisableGestureRequirementForMediaPlayback, |
| 1121 switches::kDisableLowEndDeviceMode, |
1121 switches::kDisableWebRTC, | 1122 switches::kDisableWebRTC, |
| 1123 switches::kEnableLowEndDeviceMode, |
1122 switches::kEnableSpeechRecognition, | 1124 switches::kEnableSpeechRecognition, |
1123 switches::kHideScrollbars, | 1125 switches::kHideScrollbars, |
1124 switches::kMediaDrmEnableNonCompositing, | 1126 switches::kMediaDrmEnableNonCompositing, |
1125 switches::kNetworkCountryIso, | 1127 switches::kNetworkCountryIso, |
1126 #endif | 1128 #endif |
1127 #if defined(OS_MACOSX) | 1129 #if defined(OS_MACOSX) |
1128 // Allow this to be set when invoking the browser and relayed along. | 1130 // Allow this to be set when invoking the browser and relayed along. |
1129 switches::kEnableSandboxLogging, | 1131 switches::kEnableSandboxLogging, |
1130 #endif | 1132 #endif |
1131 #if defined(OS_POSIX) | 1133 #if defined(OS_POSIX) |
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1896 // Skip widgets in other processes. | 1898 // Skip widgets in other processes. |
1897 if (widget->GetProcess()->GetID() != GetID()) | 1899 if (widget->GetProcess()->GetID() != GetID()) |
1898 continue; | 1900 continue; |
1899 | 1901 |
1900 RenderViewHost* rvh = RenderViewHost::From(widget); | 1902 RenderViewHost* rvh = RenderViewHost::From(widget); |
1901 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1903 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1902 } | 1904 } |
1903 } | 1905 } |
1904 | 1906 |
1905 } // namespace content | 1907 } // namespace content |
OLD | NEW |