| 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 935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 946 switches::kDisableDeviceOrientation, | 946 switches::kDisableDeviceOrientation, |
| 947 switches::kDisableDirectNPAPIRequests, | 947 switches::kDisableDirectNPAPIRequests, |
| 948 switches::kDisableFileSystem, | 948 switches::kDisableFileSystem, |
| 949 switches::kDisableFiltersOverIPC, | 949 switches::kDisableFiltersOverIPC, |
| 950 switches::kDisableFullScreen, | 950 switches::kDisableFullScreen, |
| 951 switches::kDisableGeolocation, | 951 switches::kDisableGeolocation, |
| 952 switches::kDisableGpu, | 952 switches::kDisableGpu, |
| 953 switches::kDisableGpuCompositing, | 953 switches::kDisableGpuCompositing, |
| 954 switches::kDisableGpuVsync, | 954 switches::kDisableGpuVsync, |
| 955 switches::kDisableHistogramCustomizer, | 955 switches::kDisableHistogramCustomizer, |
| 956 switches::kDisableLayerSquashing, |
| 956 switches::kDisableLocalStorage, | 957 switches::kDisableLocalStorage, |
| 957 switches::kDisableLogging, | 958 switches::kDisableLogging, |
| 958 switches::kDisableOpusPlayback, | 959 switches::kDisableOpusPlayback, |
| 959 switches::kDisablePinch, | 960 switches::kDisablePinch, |
| 960 switches::kDisablePrefixedEncryptedMedia, | 961 switches::kDisablePrefixedEncryptedMedia, |
| 961 switches::kDisableSeccompFilterSandbox, | 962 switches::kDisableSeccompFilterSandbox, |
| 962 switches::kDisableSessionStorage, | 963 switches::kDisableSessionStorage, |
| 963 switches::kDisableSharedWorkers, | 964 switches::kDisableSharedWorkers, |
| 964 switches::kDisableSpeechInput, | 965 switches::kDisableSpeechInput, |
| 965 switches::kDisableThreadedCompositing, | 966 switches::kDisableThreadedCompositing, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 993 switches::kEnableExperimentalWebSocket, | 994 switches::kEnableExperimentalWebSocket, |
| 994 switches::kEnableFastTextAutosizing, | 995 switches::kEnableFastTextAutosizing, |
| 995 switches::kEnableGpuBenchmarking, | 996 switches::kEnableGpuBenchmarking, |
| 996 switches::kEnableGPUClientLogging, | 997 switches::kEnableGPUClientLogging, |
| 997 switches::kEnableGpuClientTracing, | 998 switches::kEnableGpuClientTracing, |
| 998 switches::kEnableGPUServiceLogging, | 999 switches::kEnableGPUServiceLogging, |
| 999 switches::kEnableHighDpiCompositingForFixedPosition, | 1000 switches::kEnableHighDpiCompositingForFixedPosition, |
| 1000 switches::kEnableHTMLImports, | 1001 switches::kEnableHTMLImports, |
| 1001 switches::kEnableInbandTextTracks, | 1002 switches::kEnableInbandTextTracks, |
| 1002 switches::kEnableInputModeAttribute, | 1003 switches::kEnableInputModeAttribute, |
| 1004 switches::kEnableLayerSquashing, |
| 1003 switches::kEnableLogging, | 1005 switches::kEnableLogging, |
| 1004 switches::kEnableMP3StreamParser, | 1006 switches::kEnableMP3StreamParser, |
| 1005 switches::kEnableMemoryBenchmarking, | 1007 switches::kEnableMemoryBenchmarking, |
| 1006 switches::kEnableOverlayFullscreenVideo, | 1008 switches::kEnableOverlayFullscreenVideo, |
| 1007 switches::kEnableOverlayScrollbars, | 1009 switches::kEnableOverlayScrollbars, |
| 1008 switches::kEnableOverscrollNotifications, | 1010 switches::kEnableOverscrollNotifications, |
| 1009 switches::kEnablePinch, | 1011 switches::kEnablePinch, |
| 1010 switches::kEnablePreparsedJsCaching, | 1012 switches::kEnablePreparsedJsCaching, |
| 1011 switches::kEnablePruneGpuCommandBuffers, | 1013 switches::kEnablePruneGpuCommandBuffers, |
| 1012 switches::kEnableRepaintAfterLayout, | 1014 switches::kEnableRepaintAfterLayout, |
| (...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1894 // Skip widgets in other processes. | 1896 // Skip widgets in other processes. |
| 1895 if (widget->GetProcess()->GetID() != GetID()) | 1897 if (widget->GetProcess()->GetID() != GetID()) |
| 1896 continue; | 1898 continue; |
| 1897 | 1899 |
| 1898 RenderViewHost* rvh = RenderViewHost::From(widget); | 1900 RenderViewHost* rvh = RenderViewHost::From(widget); |
| 1899 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1901 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
| 1900 } | 1902 } |
| 1901 } | 1903 } |
| 1902 | 1904 |
| 1903 } // namespace content | 1905 } // namespace content |
| OLD | NEW |