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