Chromium Code Reviews| 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 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 963 switches::kDisableSharedWorkers, | 963 switches::kDisableSharedWorkers, |
| 964 switches::kDisableSpeechInput, | 964 switches::kDisableSpeechInput, |
| 965 switches::kDisableThreadedCompositing, | 965 switches::kDisableThreadedCompositing, |
| 966 switches::kDisableTouchAdjustment, | 966 switches::kDisableTouchAdjustment, |
| 967 switches::kDisableTouchDragDrop, | 967 switches::kDisableTouchDragDrop, |
| 968 switches::kDisableTouchEditing, | 968 switches::kDisableTouchEditing, |
| 969 switches::kDisableUniversalAcceleratedOverflowScroll, | 969 switches::kDisableUniversalAcceleratedOverflowScroll, |
| 970 switches::kDisableUnprefixedMediaSource, | 970 switches::kDisableUnprefixedMediaSource, |
| 971 switches::kDisableVp8AlphaPlayback, | 971 switches::kDisableVp8AlphaPlayback, |
| 972 switches::kDisableWebAnimationsCSS, | 972 switches::kDisableWebAnimationsCSS, |
| 973 #if defined(OS_ANDROID) && defined(ARCH_CPU_X86) | |
|
jam
2013/11/25 16:35:52
nit: follow the local style and put ifdef'd sectio
| |
| 974 switches::kEnableWebAudio, | |
| 975 #else | |
| 973 switches::kDisableWebAudio, | 976 switches::kDisableWebAudio, |
| 977 #endif | |
| 974 switches::kDisableWebKitMediaSource, | 978 switches::kDisableWebKitMediaSource, |
| 975 switches::kDomAutomationController, | 979 switches::kDomAutomationController, |
| 976 switches::kEnableAcceleratedFixedRootBackground, | 980 switches::kEnableAcceleratedFixedRootBackground, |
| 977 switches::kEnableAcceleratedOverflowScroll, | 981 switches::kEnableAcceleratedOverflowScroll, |
| 978 switches::kEnableAcceleratedScrollableFrames, | 982 switches::kEnableAcceleratedScrollableFrames, |
| 979 switches::kEnableAccessibilityLogging, | 983 switches::kEnableAccessibilityLogging, |
| 980 switches::kEnableBeginFrameScheduling, | 984 switches::kEnableBeginFrameScheduling, |
| 981 switches::kEnableBrowserPluginForAllViewTypes, | 985 switches::kEnableBrowserPluginForAllViewTypes, |
| 982 switches::kEnableCompositedScrollingForFrames, | 986 switches::kEnableCompositedScrollingForFrames, |
| 983 switches::kEnableCompositingForFixedPosition, | 987 switches::kEnableCompositingForFixedPosition, |
| (...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1894 // Skip widgets in other processes. | 1898 // Skip widgets in other processes. |
| 1895 if (widget->GetProcess()->GetID() != GetID()) | 1899 if (widget->GetProcess()->GetID() != GetID()) |
| 1896 continue; | 1900 continue; |
| 1897 | 1901 |
| 1898 RenderViewHost* rvh = RenderViewHost::From(widget); | 1902 RenderViewHost* rvh = RenderViewHost::From(widget); |
| 1899 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1903 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
| 1900 } | 1904 } |
| 1901 } | 1905 } |
| 1902 | 1906 |
| 1903 } // namespace content | 1907 } // namespace content |
| OLD | NEW |