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 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 switches::kDisablePinch, | 899 switches::kDisablePinch, |
900 switches::kDisablePrefixedEncryptedMedia, | 900 switches::kDisablePrefixedEncryptedMedia, |
901 switches::kDisableSeccompFilterSandbox, | 901 switches::kDisableSeccompFilterSandbox, |
902 switches::kDisableSessionStorage, | 902 switches::kDisableSessionStorage, |
903 switches::kDisableSharedWorkers, | 903 switches::kDisableSharedWorkers, |
904 switches::kDisableSpeechInput, | 904 switches::kDisableSpeechInput, |
905 switches::kDisableThreadedCompositing, | 905 switches::kDisableThreadedCompositing, |
906 switches::kDisableTouchAdjustment, | 906 switches::kDisableTouchAdjustment, |
907 switches::kDisableTouchDragDrop, | 907 switches::kDisableTouchDragDrop, |
908 switches::kDisableTouchEditing, | 908 switches::kDisableTouchEditing, |
909 switches::kDisableUniversalAcceleratedOverflowScroll, | |
910 switches::kDisableVp8AlphaPlayback, | 909 switches::kDisableVp8AlphaPlayback, |
911 switches::kDisableWebAudio, | 910 switches::kDisableWebAudio, |
912 switches::kDisableWebKitMediaSource, | 911 switches::kDisableWebKitMediaSource, |
913 switches::kDomAutomationController, | 912 switches::kDomAutomationController, |
914 switches::kEnableAcceleratedFixedRootBackground, | 913 switches::kEnableAcceleratedFixedRootBackground, |
915 switches::kEnableAcceleratedOverflowScroll, | 914 switches::kEnableAcceleratedOverflowScroll, |
916 switches::kEnableAccessibilityLogging, | 915 switches::kEnableAccessibilityLogging, |
917 switches::kEnableBeginFrameScheduling, | 916 switches::kEnableBeginFrameScheduling, |
918 switches::kEnableBrowserPluginForAllViewTypes, | 917 switches::kEnableBrowserPluginForAllViewTypes, |
919 switches::kEnableCompositingForFixedPosition, | 918 switches::kEnableCompositingForFixedPosition, |
(...skipping 26 matching lines...) Expand all Loading... |
946 switches::kEnableOverscrollNotifications, | 945 switches::kEnableOverscrollNotifications, |
947 switches::kEnablePinch, | 946 switches::kEnablePinch, |
948 switches::kEnablePreparsedJsCaching, | 947 switches::kEnablePreparsedJsCaching, |
949 switches::kEnablePruneGpuCommandBuffers, | 948 switches::kEnablePruneGpuCommandBuffers, |
950 switches::kEnableSkiaBenchmarking, | 949 switches::kEnableSkiaBenchmarking, |
951 switches::kEnableSoftwareCompositing, | 950 switches::kEnableSoftwareCompositing, |
952 switches::kEnableSpeechSynthesis, | 951 switches::kEnableSpeechSynthesis, |
953 switches::kEnableStatsTable, | 952 switches::kEnableStatsTable, |
954 switches::kEnableStrictSiteIsolation, | 953 switches::kEnableStrictSiteIsolation, |
955 switches::kEnableThreadedCompositing, | 954 switches::kEnableThreadedCompositing, |
956 switches::kEnableUniversalAcceleratedOverflowScroll, | |
957 switches::kEnableTouchDragDrop, | 955 switches::kEnableTouchDragDrop, |
958 switches::kEnableTouchEditing, | 956 switches::kEnableTouchEditing, |
959 switches::kEnableViewport, | 957 switches::kEnableViewport, |
960 switches::kEnableVtune, | 958 switches::kEnableVtune, |
961 switches::kEnableWebAnimationsCSS, | 959 switches::kEnableWebAnimationsCSS, |
962 switches::kEnableWebAnimationsSVG, | 960 switches::kEnableWebAnimationsSVG, |
963 switches::kEnableWebGLDraftExtensions, | 961 switches::kEnableWebGLDraftExtensions, |
964 switches::kEnableWebMIDI, | 962 switches::kEnableWebMIDI, |
965 switches::kForceDeviceScaleFactor, | 963 switches::kForceDeviceScaleFactor, |
966 switches::kFullMemoryCrashReport, | 964 switches::kFullMemoryCrashReport, |
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1809 // Skip widgets in other processes. | 1807 // Skip widgets in other processes. |
1810 if (widget->GetProcess()->GetID() != GetID()) | 1808 if (widget->GetProcess()->GetID() != GetID()) |
1811 continue; | 1809 continue; |
1812 | 1810 |
1813 RenderViewHost* rvh = RenderViewHost::From(widget); | 1811 RenderViewHost* rvh = RenderViewHost::From(widget); |
1814 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1812 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1815 } | 1813 } |
1816 } | 1814 } |
1817 | 1815 |
1818 } // namespace content | 1816 } // namespace content |
OLD | NEW |