| 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 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 switches::kEnableVideoLogging, | 557 switches::kEnableVideoLogging, |
| 558 switches::kEnableTouch, | 558 switches::kEnableTouch, |
| 559 // We propagate the Chrome Frame command line here as well in case the | 559 // We propagate the Chrome Frame command line here as well in case the |
| 560 // renderer is not run in the sandbox. | 560 // renderer is not run in the sandbox. |
| 561 switches::kChromeFrame, | 561 switches::kChromeFrame, |
| 562 // We need to propagate this flag to determine whether to make the | 562 // We need to propagate this flag to determine whether to make the |
| 563 // WebGLArray constructors on the DOMWindow visible. This | 563 // WebGLArray constructors on the DOMWindow visible. This |
| 564 // information is needed very early during bringup. We prefer to | 564 // information is needed very early during bringup. We prefer to |
| 565 // use the WebPreferences to set this flag on a page-by-page basis. | 565 // use the WebPreferences to set this flag on a page-by-page basis. |
| 566 switches::kEnableExperimentalWebGL, | 566 switches::kEnableExperimentalWebGL, |
| 567 switches::kEnableGLSLTranslator, |
| 567 switches::kInProcessWebGL, | 568 switches::kInProcessWebGL, |
| 568 #if defined(OS_MACOSX) | 569 #if defined(OS_MACOSX) |
| 569 // Allow this to be set when invoking the browser and relayed along. | 570 // Allow this to be set when invoking the browser and relayed along. |
| 570 switches::kEnableSandboxLogging, | 571 switches::kEnableSandboxLogging, |
| 571 switches::kDisableFlashCoreAnimation, | 572 switches::kDisableFlashCoreAnimation, |
| 572 #endif | 573 #endif |
| 573 switches::kRemoteShellPort, | 574 switches::kRemoteShellPort, |
| 574 switches::kEnablePepperTesting, | 575 switches::kEnablePepperTesting, |
| 575 }; | 576 }; |
| 576 | 577 |
| (...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1065 IPC::InvalidPlatformFileForTransit(), | 1066 IPC::InvalidPlatformFileForTransit(), |
| 1066 std::vector<std::string>(), | 1067 std::vector<std::string>(), |
| 1067 std::string(), | 1068 std::string(), |
| 1068 false)); | 1069 false)); |
| 1069 } | 1070 } |
| 1070 } | 1071 } |
| 1071 | 1072 |
| 1072 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { | 1073 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { |
| 1073 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); | 1074 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); |
| 1074 } | 1075 } |
| OLD | NEW |