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