| 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 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 switches::kDisableSharedWorkers, | 587 switches::kDisableSharedWorkers, |
| 588 switches::kDisableApplicationCache, | 588 switches::kDisableApplicationCache, |
| 589 switches::kDisableDeviceOrientation, | 589 switches::kDisableDeviceOrientation, |
| 590 switches::kDisableIndexedDatabase, | 590 switches::kDisableIndexedDatabase, |
| 591 switches::kDisableSpeechInput, | 591 switches::kDisableSpeechInput, |
| 592 switches::kDisableGeolocation, | 592 switches::kDisableGeolocation, |
| 593 switches::kShowPaintRects, | 593 switches::kShowPaintRects, |
| 594 switches::kEnableOpenMax, | 594 switches::kEnableOpenMax, |
| 595 switches::kVideoThreads, | 595 switches::kVideoThreads, |
| 596 switches::kEnableVideoFullscreen, | 596 switches::kEnableVideoFullscreen, |
| 597 switches::kEnableVideoLayering, | |
| 598 switches::kEnableVideoLogging, | 597 switches::kEnableVideoLogging, |
| 599 switches::kEnableTouch, | 598 switches::kEnableTouch, |
| 600 // We propagate the Chrome Frame command line here as well in case the | 599 // We propagate the Chrome Frame command line here as well in case the |
| 601 // renderer is not run in the sandbox. | 600 // renderer is not run in the sandbox. |
| 602 switches::kChromeFrame, | 601 switches::kChromeFrame, |
| 603 // We need to propagate this flag to determine whether to make the | 602 // We need to propagate this flag to determine whether to make the |
| 604 // WebGLArray constructors on the DOMWindow visible. This | 603 // WebGLArray constructors on the DOMWindow visible. This |
| 605 // information is needed very early during bringup. We prefer to | 604 // information is needed very early during bringup. We prefer to |
| 606 // use the WebPreferences to set this flag on a page-by-page basis. | 605 // use the WebPreferences to set this flag on a page-by-page basis. |
| 607 switches::kDisableExperimentalWebGL, | 606 switches::kDisableExperimentalWebGL, |
| (...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1141 IPC::InvalidPlatformFileForTransit(), | 1140 IPC::InvalidPlatformFileForTransit(), |
| 1142 std::vector<std::string>(), | 1141 std::vector<std::string>(), |
| 1143 std::string(), | 1142 std::string(), |
| 1144 false)); | 1143 false)); |
| 1145 } | 1144 } |
| 1146 } | 1145 } |
| 1147 | 1146 |
| 1148 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { | 1147 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { |
| 1149 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); | 1148 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); |
| 1150 } | 1149 } |
| OLD | NEW |