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