| 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 589 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 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::kDisableExperimentalWebGL, | 607     switches::kDisableExperimentalWebGL, | 
| 608     switches::kDisableGLSLTranslator, | 608     switches::kDisableGLSLTranslator, | 
| 609     switches::kInProcessWebGL, | 609     switches::kInProcessWebGL, | 
|  | 610     // This flag needs to be propagated to the renderer process for | 
|  | 611     // --in-process-webgl. | 
|  | 612     switches::kUseGL, | 
| 610     switches::kDisableAcceleratedCompositing, | 613     switches::kDisableAcceleratedCompositing, | 
| 611 #if defined(OS_MACOSX) | 614 #if defined(OS_MACOSX) | 
| 612     // Allow this to be set when invoking the browser and relayed along. | 615     // Allow this to be set when invoking the browser and relayed along. | 
| 613     switches::kEnableSandboxLogging, | 616     switches::kEnableSandboxLogging, | 
| 614 #endif | 617 #endif | 
| 615     switches::kRemoteShellPort, | 618     switches::kRemoteShellPort, | 
| 616     switches::kEnablePepperTesting, | 619     switches::kEnablePepperTesting, | 
| 617     switches::kBlockNonSandboxedPlugins, | 620     switches::kBlockNonSandboxedPlugins, | 
| 618     switches::kDisableOutdatedPlugins, | 621     switches::kDisableOutdatedPlugins, | 
| 619     switches::kEnableRemoting, | 622     switches::kEnableRemoting, | 
| (...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1131         IPC::InvalidPlatformFileForTransit(), | 1134         IPC::InvalidPlatformFileForTransit(), | 
| 1132         std::vector<std::string>(), | 1135         std::vector<std::string>(), | 
| 1133         std::string(), | 1136         std::string(), | 
| 1134         false)); | 1137         false)); | 
| 1135   } | 1138   } | 
| 1136 } | 1139 } | 
| 1137 | 1140 | 
| 1138 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { | 1141 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { | 
| 1139   Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); | 1142   Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); | 
| 1140 } | 1143 } | 
| OLD | NEW | 
|---|