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 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
919 switches::kDisableSessionStorage, | 919 switches::kDisableSessionStorage, |
920 switches::kDisableSharedWorkers, | 920 switches::kDisableSharedWorkers, |
921 switches::kDisableSpeechInput, | 921 switches::kDisableSpeechInput, |
922 switches::kDisableThreadedCompositing, | 922 switches::kDisableThreadedCompositing, |
923 switches::kDisableTouchAdjustment, | 923 switches::kDisableTouchAdjustment, |
924 switches::kDisableTouchDragDrop, | 924 switches::kDisableTouchDragDrop, |
925 switches::kDisableTouchEditing, | 925 switches::kDisableTouchEditing, |
926 switches::kDisableUniversalAcceleratedOverflowScroll, | 926 switches::kDisableUniversalAcceleratedOverflowScroll, |
927 switches::kDisableUnprefixedMediaSource, | 927 switches::kDisableUnprefixedMediaSource, |
928 switches::kDisableVp8AlphaPlayback, | 928 switches::kDisableVp8AlphaPlayback, |
| 929 switches::kDisableWebAnimationsCSS, |
929 switches::kDisableWebAudio, | 930 switches::kDisableWebAudio, |
930 switches::kDisableWebKitMediaSource, | 931 switches::kDisableWebKitMediaSource, |
931 switches::kDomAutomationController, | 932 switches::kDomAutomationController, |
932 switches::kEnableAcceleratedFixedRootBackground, | 933 switches::kEnableAcceleratedFixedRootBackground, |
933 switches::kEnableAcceleratedOverflowScroll, | 934 switches::kEnableAcceleratedOverflowScroll, |
934 switches::kEnableAcceleratedScrollableFrames, | 935 switches::kEnableAcceleratedScrollableFrames, |
935 switches::kEnableAccessibilityLogging, | 936 switches::kEnableAccessibilityLogging, |
936 switches::kEnableBeginFrameScheduling, | 937 switches::kEnableBeginFrameScheduling, |
937 switches::kEnableBrowserPluginForAllViewTypes, | 938 switches::kEnableBrowserPluginForAllViewTypes, |
938 switches::kEnableCompositedScrollingForFrames, | 939 switches::kEnableCompositedScrollingForFrames, |
(...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1844 // Skip widgets in other processes. | 1845 // Skip widgets in other processes. |
1845 if (widget->GetProcess()->GetID() != GetID()) | 1846 if (widget->GetProcess()->GetID() != GetID()) |
1846 continue; | 1847 continue; |
1847 | 1848 |
1848 RenderViewHost* rvh = RenderViewHost::From(widget); | 1849 RenderViewHost* rvh = RenderViewHost::From(widget); |
1849 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1850 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1850 } | 1851 } |
1851 } | 1852 } |
1852 | 1853 |
1853 } // namespace content | 1854 } // namespace content |
OLD | NEW |