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 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
904 switches::kDomAutomationController, | 904 switches::kDomAutomationController, |
905 switches::kEnableAccessibilityLogging, | 905 switches::kEnableAccessibilityLogging, |
906 switches::kEnableBeginFrameScheduling, | 906 switches::kEnableBeginFrameScheduling, |
907 switches::kEnableBrowserInputController, | 907 switches::kEnableBrowserInputController, |
908 switches::kEnableBrowserPluginForAllViewTypes, | 908 switches::kEnableBrowserPluginForAllViewTypes, |
909 switches::kEnableDCHECK, | 909 switches::kEnableDCHECK, |
910 switches::kEnableDelegatedRenderer, | 910 switches::kEnableDelegatedRenderer, |
911 switches::kEnableEncryptedMedia, | 911 switches::kEnableEncryptedMedia, |
912 switches::kDisableLegacyEncryptedMedia, | 912 switches::kDisableLegacyEncryptedMedia, |
913 switches::kOverrideEncryptedMediaCanPlayType, | 913 switches::kOverrideEncryptedMediaCanPlayType, |
914 switches::kEnableNewMediaInternals, | |
scherkus (not reviewing)
2013/07/19 01:58:49
we only propagate switches to the render process i
Ty Overby
2013/07/19 17:48:00
Done.
You were right.
| |
914 switches::kEnableExperimentalWebPlatformFeatures, | 915 switches::kEnableExperimentalWebPlatformFeatures, |
915 switches::kEnableFixedLayout, | 916 switches::kEnableFixedLayout, |
916 switches::kEnableDeferredImageDecoding, | 917 switches::kEnableDeferredImageDecoding, |
917 switches::kEnableGPUServiceLogging, | 918 switches::kEnableGPUServiceLogging, |
918 switches::kEnableGPUClientLogging, | 919 switches::kEnableGPUClientLogging, |
919 switches::kEnableGpuClientTracing, | 920 switches::kEnableGpuClientTracing, |
920 switches::kEnableGpuBenchmarking, | 921 switches::kEnableGpuBenchmarking, |
921 switches::kEnableMemoryBenchmarking, | 922 switches::kEnableMemoryBenchmarking, |
922 switches::kEnableSkiaBenchmarking, | 923 switches::kEnableSkiaBenchmarking, |
923 switches::kEnableLogging, | 924 switches::kEnableLogging, |
(...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1793 // Skip widgets in other processes. | 1794 // Skip widgets in other processes. |
1794 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1795 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1795 continue; | 1796 continue; |
1796 | 1797 |
1797 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1798 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1798 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1799 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1799 } | 1800 } |
1800 } | 1801 } |
1801 | 1802 |
1802 } // namespace content | 1803 } // namespace content |
OLD | NEW |