| 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 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 597 switches::kEnableVideoLayering, | 597 switches::kEnableVideoLayering, |
| 598 switches::kEnableVideoLogging, | 598 switches::kEnableVideoLogging, |
| 599 switches::kEnableTouch, | 599 switches::kEnableTouch, |
| 600 // We propagate the Chrome Frame command line here as well in case the | 600 // We propagate the Chrome Frame command line here as well in case the |
| 601 // renderer is not run in the sandbox. | 601 // renderer is not run in the sandbox. |
| 602 switches::kChromeFrame, | 602 switches::kChromeFrame, |
| 603 // We need to propagate this flag to determine whether to make the | 603 // We need to propagate this flag to determine whether to make the |
| 604 // WebGLArray constructors on the DOMWindow visible. This | 604 // WebGLArray constructors on the DOMWindow visible. This |
| 605 // information is needed very early during bringup. We prefer to | 605 // information is needed very early during bringup. We prefer to |
| 606 // use the WebPreferences to set this flag on a page-by-page basis. | 606 // use the WebPreferences to set this flag on a page-by-page basis. |
| 607 switches::kEnableExperimentalWebGL, | 607 switches::kDisableExperimentalWebGL, |
| 608 switches::kDisableGLSLTranslator, | 608 switches::kDisableGLSLTranslator, |
| 609 switches::kInProcessWebGL, | 609 switches::kInProcessWebGL, |
| 610 switches::kEnableAcceleratedCompositing, | 610 switches::kDisableAcceleratedCompositing, |
| 611 #if defined(OS_MACOSX) | 611 #if defined(OS_MACOSX) |
| 612 // Allow this to be set when invoking the browser and relayed along. | 612 // Allow this to be set when invoking the browser and relayed along. |
| 613 switches::kEnableSandboxLogging, | 613 switches::kEnableSandboxLogging, |
| 614 #endif | 614 #endif |
| 615 switches::kRemoteShellPort, | 615 switches::kRemoteShellPort, |
| 616 switches::kEnablePepperTesting, | 616 switches::kEnablePepperTesting, |
| 617 switches::kBlockNonSandboxedPlugins, | 617 switches::kBlockNonSandboxedPlugins, |
| 618 switches::kDisableOutdatedPlugins, | 618 switches::kDisableOutdatedPlugins, |
| 619 switches::kEnableRemoting, | 619 switches::kEnableRemoting, |
| 620 switches::kDisableClickToPlay, | 620 switches::kDisableClickToPlay, |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1131 IPC::InvalidPlatformFileForTransit(), | 1131 IPC::InvalidPlatformFileForTransit(), |
| 1132 std::vector<std::string>(), | 1132 std::vector<std::string>(), |
| 1133 std::string(), | 1133 std::string(), |
| 1134 false)); | 1134 false)); |
| 1135 } | 1135 } |
| 1136 } | 1136 } |
| 1137 | 1137 |
| 1138 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { | 1138 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { |
| 1139 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); | 1139 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); |
| 1140 } | 1140 } |
| OLD | NEW |