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 924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
935 switches::kEnableMemoryBenchmarking, | 935 switches::kEnableMemoryBenchmarking, |
936 switches::kEnableSkiaBenchmarking, | 936 switches::kEnableSkiaBenchmarking, |
937 switches::kEnableLogging, | 937 switches::kEnableLogging, |
938 switches::kEnableSpeechSynthesis, | 938 switches::kEnableSpeechSynthesis, |
939 switches::kEnableTouchDragDrop, | 939 switches::kEnableTouchDragDrop, |
940 switches::kEnableTouchEditing, | 940 switches::kEnableTouchEditing, |
941 #if defined(ENABLE_WEBRTC) | 941 #if defined(ENABLE_WEBRTC) |
942 switches::kEnableWebRtcAecRecordings, | 942 switches::kEnableWebRtcAecRecordings, |
943 switches::kEnableWebRtcTcpServerSocket, | 943 switches::kEnableWebRtcTcpServerSocket, |
944 switches::kEnableWebRtcHWDecoding, | 944 switches::kEnableWebRtcHWDecoding, |
945 switches::kEnableWebRtcHWEncoding, | |
piman
2013/08/09 04:04:58
Please also add to kForwardSwitches in chrome/brow
sheu
2013/08/09 08:26:41
I am just gonna
umm
copy them to chrome_restart_
| |
945 #endif | 946 #endif |
946 switches::kDisableWebKitMediaSource, | 947 switches::kDisableWebKitMediaSource, |
947 switches::kEnableOverscrollNotifications, | 948 switches::kEnableOverscrollNotifications, |
948 switches::kEnableStrictSiteIsolation, | 949 switches::kEnableStrictSiteIsolation, |
949 switches::kDisableFullScreen, | 950 switches::kDisableFullScreen, |
950 switches::kEnableNewDialogStyle, | 951 switches::kEnableNewDialogStyle, |
951 #if defined(ENABLE_PLUGINS) | 952 #if defined(ENABLE_PLUGINS) |
952 switches::kEnablePepperTesting, | 953 switches::kEnablePepperTesting, |
953 switches::kDisablePepper3d, | 954 switches::kDisablePepper3d, |
954 #endif | 955 #endif |
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1804 // Skip widgets in other processes. | 1805 // Skip widgets in other processes. |
1805 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1806 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1806 continue; | 1807 continue; |
1807 | 1808 |
1808 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1809 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1809 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1810 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1810 } | 1811 } |
1811 } | 1812 } |
1812 | 1813 |
1813 } // namespace content | 1814 } // namespace content |
OLD | NEW |