| 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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 switches::kDisableWebSockets, | 548 switches::kDisableWebSockets, |
| 549 switches::kDisableLocalStorage, | 549 switches::kDisableLocalStorage, |
| 550 switches::kDisableSessionStorage, | 550 switches::kDisableSessionStorage, |
| 551 switches::kDisableSharedWorkers, | 551 switches::kDisableSharedWorkers, |
| 552 switches::kDisableApplicationCache, | 552 switches::kDisableApplicationCache, |
| 553 switches::kEnableIndexedDatabase, | 553 switches::kEnableIndexedDatabase, |
| 554 switches::kDisableGeolocation, | 554 switches::kDisableGeolocation, |
| 555 switches::kShowPaintRects, | 555 switches::kShowPaintRects, |
| 556 switches::kEnableOpenMax, | 556 switches::kEnableOpenMax, |
| 557 switches::kVideoThreads, | 557 switches::kVideoThreads, |
| 558 switches::kEnableVideoFullscreen, |
| 558 switches::kEnableVideoLayering, | 559 switches::kEnableVideoLayering, |
| 559 switches::kEnableVideoLogging, | 560 switches::kEnableVideoLogging, |
| 560 switches::kEnableTouch, | 561 switches::kEnableTouch, |
| 561 // We propagate the Chrome Frame command line here as well in case the | 562 // We propagate the Chrome Frame command line here as well in case the |
| 562 // renderer is not run in the sandbox. | 563 // renderer is not run in the sandbox. |
| 563 switches::kChromeFrame, | 564 switches::kChromeFrame, |
| 564 // We need to propagate this flag to determine whether to make the | 565 // We need to propagate this flag to determine whether to make the |
| 565 // WebGLArray constructors on the DOMWindow visible. This | 566 // WebGLArray constructors on the DOMWindow visible. This |
| 566 // information is needed very early during bringup. We prefer to | 567 // information is needed very early during bringup. We prefer to |
| 567 // use the WebPreferences to set this flag on a page-by-page basis. | 568 // use the WebPreferences to set this flag on a page-by-page basis. |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1063 IPC::InvalidPlatformFileForTransit(), | 1064 IPC::InvalidPlatformFileForTransit(), |
| 1064 std::vector<std::string>(), | 1065 std::vector<std::string>(), |
| 1065 std::string(), | 1066 std::string(), |
| 1066 false)); | 1067 false)); |
| 1067 } | 1068 } |
| 1068 } | 1069 } |
| 1069 | 1070 |
| 1070 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { | 1071 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { |
| 1071 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); | 1072 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); |
| 1072 } | 1073 } |
| OLD | NEW |