| 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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 568 switches::kEnableExperimentalWebGL, | 568 switches::kEnableExperimentalWebGL, |
| 569 switches::kEnableGLSLTranslator, | 569 switches::kEnableGLSLTranslator, |
| 570 switches::kInProcessWebGL, | 570 switches::kInProcessWebGL, |
| 571 #if defined(OS_MACOSX) | 571 #if defined(OS_MACOSX) |
| 572 // Allow this to be set when invoking the browser and relayed along. | 572 // Allow this to be set when invoking the browser and relayed along. |
| 573 switches::kEnableSandboxLogging, | 573 switches::kEnableSandboxLogging, |
| 574 switches::kDisableFlashCoreAnimation, | 574 switches::kDisableFlashCoreAnimation, |
| 575 #endif | 575 #endif |
| 576 switches::kRemoteShellPort, | 576 switches::kRemoteShellPort, |
| 577 switches::kEnablePepperTesting, | 577 switches::kEnablePepperTesting, |
| 578 switches::kBlockNonSandboxedPlugins, |
| 579 switches::kDisableOutdatedPlugins, |
| 578 switches::kEnableChromoting, | 580 switches::kEnableChromoting, |
| 579 switches::kPrelaunchGpuProcess, | 581 switches::kPrelaunchGpuProcess, |
| 580 }; | 582 }; |
| 581 | 583 |
| 582 for (size_t i = 0; i < arraysize(switch_names); ++i) { | 584 for (size_t i = 0; i < arraysize(switch_names); ++i) { |
| 583 if (browser_cmd.HasSwitch(switch_names[i])) { | 585 if (browser_cmd.HasSwitch(switch_names[i])) { |
| 584 renderer_cmd->AppendSwitchWithValue(switch_names[i], | 586 renderer_cmd->AppendSwitchWithValue(switch_names[i], |
| 585 browser_cmd.GetSwitchValueASCII(switch_names[i])); | 587 browser_cmd.GetSwitchValueASCII(switch_names[i])); |
| 586 } | 588 } |
| 587 } | 589 } |
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1070 IPC::InvalidPlatformFileForTransit(), | 1072 IPC::InvalidPlatformFileForTransit(), |
| 1071 std::vector<std::string>(), | 1073 std::vector<std::string>(), |
| 1072 std::string(), | 1074 std::string(), |
| 1073 false)); | 1075 false)); |
| 1074 } | 1076 } |
| 1075 } | 1077 } |
| 1076 | 1078 |
| 1077 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { | 1079 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { |
| 1078 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); | 1080 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); |
| 1079 } | 1081 } |
| OLD | NEW |