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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 switches::kEnableSandboxLogging, | 571 switches::kEnableSandboxLogging, |
572 switches::kDisableFlashCoreAnimation, | 572 switches::kDisableFlashCoreAnimation, |
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::kEnableAcceleratedCompositing, | |
582 switches::kEnableAcceleratedDecoding, | |
583 }; | 581 }; |
584 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, | 582 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, |
585 arraysize(kSwitchNames)); | 583 arraysize(kSwitchNames)); |
586 | 584 |
587 // Disable databases in incognito mode. | 585 // Disable databases in incognito mode. |
588 if (profile()->IsOffTheRecord() && | 586 if (profile()->IsOffTheRecord() && |
589 !browser_cmd.HasSwitch(switches::kDisableDatabases)) { | 587 !browser_cmd.HasSwitch(switches::kDisableDatabases)) { |
590 renderer_cmd->AppendSwitch(switches::kDisableDatabases); | 588 renderer_cmd->AppendSwitch(switches::kDisableDatabases); |
591 } | 589 } |
592 } | 590 } |
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1068 IPC::InvalidPlatformFileForTransit(), | 1066 IPC::InvalidPlatformFileForTransit(), |
1069 std::vector<std::string>(), | 1067 std::vector<std::string>(), |
1070 std::string(), | 1068 std::string(), |
1071 false)); | 1069 false)); |
1072 } | 1070 } |
1073 } | 1071 } |
1074 | 1072 |
1075 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { | 1073 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { |
1076 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); | 1074 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); |
1077 } | 1075 } |
OLD | NEW |