| 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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 609 #if defined(OS_MACOSX) | 609 #if defined(OS_MACOSX) |
| 610 // Allow this to be set when invoking the browser and relayed along. | 610 // Allow this to be set when invoking the browser and relayed along. |
| 611 switches::kEnableSandboxLogging, | 611 switches::kEnableSandboxLogging, |
| 612 switches::kDisableFlashCoreAnimation, | 612 switches::kDisableFlashCoreAnimation, |
| 613 #endif | 613 #endif |
| 614 switches::kRemoteShellPort, | 614 switches::kRemoteShellPort, |
| 615 switches::kEnablePepperTesting, | 615 switches::kEnablePepperTesting, |
| 616 switches::kBlockNonSandboxedPlugins, | 616 switches::kBlockNonSandboxedPlugins, |
| 617 switches::kDisableOutdatedPlugins, | 617 switches::kDisableOutdatedPlugins, |
| 618 switches::kEnableRemoting, | 618 switches::kEnableRemoting, |
| 619 switches::kDisableClickToPlay, | 619 switches::kEnableClickToPlay, |
| 620 switches::kEnableResourceContentSettings, | 620 switches::kEnableResourceContentSettings, |
| 621 switches::kPrelaunchGpuProcess, | 621 switches::kPrelaunchGpuProcess, |
| 622 switches::kEnableAcceleratedDecoding, | 622 switches::kEnableAcceleratedDecoding, |
| 623 switches::kEnableMatchPreview, | 623 switches::kEnableMatchPreview, |
| 624 switches::kDisableFileSystem | 624 switches::kDisableFileSystem |
| 625 }; | 625 }; |
| 626 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, | 626 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, |
| 627 arraysize(kSwitchNames)); | 627 arraysize(kSwitchNames)); |
| 628 | 628 |
| 629 // Disable databases in incognito mode. | 629 // Disable databases in incognito mode. |
| (...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1141 IPC::InvalidPlatformFileForTransit(), | 1141 IPC::InvalidPlatformFileForTransit(), |
| 1142 std::vector<std::string>(), | 1142 std::vector<std::string>(), |
| 1143 std::string(), | 1143 std::string(), |
| 1144 false)); | 1144 false)); |
| 1145 } | 1145 } |
| 1146 } | 1146 } |
| 1147 | 1147 |
| 1148 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { | 1148 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { |
| 1149 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); | 1149 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); |
| 1150 } | 1150 } |
| OLD | NEW |