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::kEnableEncryptedMedia, | 898 switches::kEnableEncryptedMedia, |
899 switches::kDisableLegacyEncryptedMedia, | 899 switches::kDisableLegacyEncryptedMedia, |
900 switches::kOverrideEncryptedMediaCanPlayType, | 900 switches::kOverrideEncryptedMediaCanPlayType, |
901 switches::kEnableExperimentalWebPlatformFeatures, | 901 switches::kEnableExperimentalWebPlatformFeatures, |
902 switches::kEnableFixedLayout, | 902 switches::kEnableFixedLayout, |
903 switches::kEnableDeferredImageDecoding, | 903 switches::kEnableDeferredImageDecoding, |
904 switches::kEnableGPUServiceLogging, | 904 switches::kEnableGPUServiceLogging, |
905 switches::kEnableGPUClientLogging, | 905 switches::kEnableGPUClientLogging, |
906 switches::kEnableGpuClientTracing, | 906 switches::kEnableGpuClientTracing, |
907 switches::kEnableGpuBenchmarking, | 907 switches::kEnableGpuBenchmarking, |
| 908 #if defined(OS_WIN) |
| 909 switches::kEnableHighResolutionTime, |
| 910 #endif |
908 switches::kEnableMP3StreamParser, | 911 switches::kEnableMP3StreamParser, |
909 switches::kEnableMemoryBenchmarking, | 912 switches::kEnableMemoryBenchmarking, |
910 switches::kEnableOverlayScrollbars, | 913 switches::kEnableOverlayScrollbars, |
911 switches::kEnableSkiaBenchmarking, | 914 switches::kEnableSkiaBenchmarking, |
912 switches::kEnableLogging, | 915 switches::kEnableLogging, |
913 switches::kEnableSpeechSynthesis, | 916 switches::kEnableSpeechSynthesis, |
914 switches::kEnableTouchDragDrop, | 917 switches::kEnableTouchDragDrop, |
915 switches::kEnableTouchEditing, | 918 switches::kEnableTouchEditing, |
916 #if defined(ENABLE_WEBRTC) | 919 #if defined(ENABLE_WEBRTC) |
917 switches::kEnableWebRtcAecRecordings, | 920 switches::kEnableWebRtcAecRecordings, |
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1776 // Skip widgets in other processes. | 1779 // Skip widgets in other processes. |
1777 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1780 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1778 continue; | 1781 continue; |
1779 | 1782 |
1780 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1783 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1781 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1784 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1782 } | 1785 } |
1783 } | 1786 } |
1784 | 1787 |
1785 } // namespace content | 1788 } // namespace content |
OLD | NEW |