OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 1554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1565 switches::kIPCSyncCompositing, | 1565 switches::kIPCSyncCompositing, |
1566 switches::kRendererWaitForJavaDebugger, | 1566 switches::kRendererWaitForJavaDebugger, |
1567 #endif | 1567 #endif |
1568 #if defined(OS_MACOSX) | 1568 #if defined(OS_MACOSX) |
1569 // Allow this to be set when invoking the browser and relayed along. | 1569 // Allow this to be set when invoking the browser and relayed along. |
1570 switches::kEnableSandboxLogging, | 1570 switches::kEnableSandboxLogging, |
1571 #endif | 1571 #endif |
1572 #if defined(OS_WIN) | 1572 #if defined(OS_WIN) |
1573 switches::kDisableDirectWrite, | 1573 switches::kDisableDirectWrite, |
1574 switches::kDisableWin32kRendererLockDown, | 1574 switches::kDisableWin32kRendererLockDown, |
| 1575 switches::kTrySupportedChannelLayouts, |
1575 switches::kTraceExportEventsToETW, | 1576 switches::kTraceExportEventsToETW, |
1576 #endif | 1577 #endif |
1577 #if defined(USE_OZONE) | 1578 #if defined(USE_OZONE) |
1578 switches::kOzonePlatform, | 1579 switches::kOzonePlatform, |
1579 #endif | 1580 #endif |
1580 #if defined(OS_CHROMEOS) | 1581 #if defined(OS_CHROMEOS) |
1581 switches::kDisableVaapiAcceleratedVideoEncode, | 1582 switches::kDisableVaapiAcceleratedVideoEncode, |
1582 #endif | 1583 #endif |
1583 }; | 1584 }; |
1584 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, | 1585 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, |
(...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2815 | 2816 |
2816 // Skip widgets in other processes. | 2817 // Skip widgets in other processes. |
2817 if (rvh->GetProcess()->GetID() != GetID()) | 2818 if (rvh->GetProcess()->GetID() != GetID()) |
2818 continue; | 2819 continue; |
2819 | 2820 |
2820 rvh->OnWebkitPreferencesChanged(); | 2821 rvh->OnWebkitPreferencesChanged(); |
2821 } | 2822 } |
2822 } | 2823 } |
2823 | 2824 |
2824 } // namespace content | 2825 } // namespace content |
OLD | NEW |