| 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 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 599 switches::kEnableVideoFullscreen, | 599 switches::kEnableVideoFullscreen, |
| 600 switches::kEnableVideoLogging, | 600 switches::kEnableVideoLogging, |
| 601 switches::kEnableTouch, | 601 switches::kEnableTouch, |
| 602 // We propagate the Chrome Frame command line here as well in case the | 602 // We propagate the Chrome Frame command line here as well in case the |
| 603 // renderer is not run in the sandbox. | 603 // renderer is not run in the sandbox. |
| 604 switches::kChromeFrame, | 604 switches::kChromeFrame, |
| 605 // We need to propagate this flag to determine whether to make the | 605 // We need to propagate this flag to determine whether to make the |
| 606 // WebGLArray constructors on the DOMWindow visible. This | 606 // WebGLArray constructors on the DOMWindow visible. This |
| 607 // information is needed very early during bringup. We prefer to | 607 // information is needed very early during bringup. We prefer to |
| 608 // use the WebPreferences to set this flag on a page-by-page basis. | 608 // use the WebPreferences to set this flag on a page-by-page basis. |
| 609 switches::kEnableExperimentalWebGL, | 609 switches::kDisableExperimentalWebGL, |
| 610 switches::kDisableGLSLTranslator, | 610 switches::kDisableGLSLTranslator, |
| 611 switches::kInProcessWebGL, | 611 switches::kInProcessWebGL, |
| 612 // This flag needs to be propagated to the renderer process for | 612 // This flag needs to be propagated to the renderer process for |
| 613 // --in-process-webgl. | 613 // --in-process-webgl. |
| 614 switches::kUseGL, | 614 switches::kUseGL, |
| 615 switches::kDisableAcceleratedCompositing, | 615 switches::kDisableAcceleratedCompositing, |
| 616 #if defined(OS_MACOSX) | 616 #if defined(OS_MACOSX) |
| 617 // Allow this to be set when invoking the browser and relayed along. | 617 // Allow this to be set when invoking the browser and relayed along. |
| 618 switches::kEnableSandboxLogging, | 618 switches::kEnableSandboxLogging, |
| 619 #endif | 619 #endif |
| (...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1171 IPC::InvalidPlatformFileForTransit(), | 1171 IPC::InvalidPlatformFileForTransit(), |
| 1172 std::vector<std::string>(), | 1172 std::vector<std::string>(), |
| 1173 std::string(), | 1173 std::string(), |
| 1174 false)); | 1174 false)); |
| 1175 } | 1175 } |
| 1176 } | 1176 } |
| 1177 | 1177 |
| 1178 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { | 1178 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { |
| 1179 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); | 1179 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); |
| 1180 } | 1180 } |
| OLD | NEW |