OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/renderer_host/browser_render_process_host.h" | 8 #include "chrome/browser/renderer_host/browser_render_process_host.h" |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 #endif | 573 #endif |
574 switches::kRemoteShellPort, | 574 switches::kRemoteShellPort, |
575 switches::kEnablePepperTesting, | 575 switches::kEnablePepperTesting, |
576 switches::kBlockNonSandboxedPlugins, | 576 switches::kBlockNonSandboxedPlugins, |
577 switches::kDisableOutdatedPlugins, | 577 switches::kDisableOutdatedPlugins, |
578 switches::kEnableRemoting, | 578 switches::kEnableRemoting, |
579 switches::kEnableClickToPlay, | 579 switches::kEnableClickToPlay, |
580 switches::kPrelaunchGpuProcess, | 580 switches::kPrelaunchGpuProcess, |
581 switches::kEnableContentPrefetch, | 581 switches::kEnableContentPrefetch, |
582 switches::kDisableContentPrefetch, | 582 switches::kDisableContentPrefetch, |
| 583 switches::kEnableAcceleratedCompositing, |
| 584 switches::kEnableAcceleratedDecoding, |
583 }; | 585 }; |
584 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, | 586 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, |
585 arraysize(kSwitchNames)); | 587 arraysize(kSwitchNames)); |
586 | 588 |
587 // Disable databases in incognito mode. | 589 // Disable databases in incognito mode. |
588 if (profile()->IsOffTheRecord() && | 590 if (profile()->IsOffTheRecord() && |
589 !browser_cmd.HasSwitch(switches::kDisableDatabases)) { | 591 !browser_cmd.HasSwitch(switches::kDisableDatabases)) { |
590 renderer_cmd->AppendSwitch(switches::kDisableDatabases); | 592 renderer_cmd->AppendSwitch(switches::kDisableDatabases); |
591 } | 593 } |
592 } | 594 } |
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1068 IPC::InvalidPlatformFileForTransit(), | 1070 IPC::InvalidPlatformFileForTransit(), |
1069 std::vector<std::string>(), | 1071 std::vector<std::string>(), |
1070 std::string(), | 1072 std::string(), |
1071 false)); | 1073 false)); |
1072 } | 1074 } |
1073 } | 1075 } |
1074 | 1076 |
1075 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { | 1077 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { |
1076 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); | 1078 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); |
1077 } | 1079 } |
OLD | NEW |