| 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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 const CommandLine& browser_cmd, | 486 const CommandLine& browser_cmd, |
| 487 CommandLine* renderer_cmd) const { | 487 CommandLine* renderer_cmd) const { |
| 488 // Propagate the following switches to the renderer command line (along | 488 // Propagate the following switches to the renderer command line (along |
| 489 // with any associated values) if present in the browser command line. | 489 // with any associated values) if present in the browser command line. |
| 490 static const char* const switch_names[] = { | 490 static const char* const switch_names[] = { |
| 491 switches::kRendererAssertTest, | 491 switches::kRendererAssertTest, |
| 492 switches::kRendererCrashTest, | 492 switches::kRendererCrashTest, |
| 493 switches::kRendererStartupDialog, | 493 switches::kRendererStartupDialog, |
| 494 switches::kNoSandbox, | 494 switches::kNoSandbox, |
| 495 switches::kTestSandbox, | 495 switches::kTestSandbox, |
| 496 switches::kEnableSeccompSandbox, | 496 switches::kDisableSeccompSandbox, |
| 497 #if !defined (GOOGLE_CHROME_BUILD) | 497 #if !defined (GOOGLE_CHROME_BUILD) |
| 498 // These are unsupported and not fully tested modes, so don't enable them | 498 // These are unsupported and not fully tested modes, so don't enable them |
| 499 // for official Google Chrome builds. | 499 // for official Google Chrome builds. |
| 500 switches::kInProcessPlugins, | 500 switches::kInProcessPlugins, |
| 501 #if defined(OS_MACOSX) | 501 #if defined(OS_MACOSX) |
| 502 // TODO(dspringer): remove this when NaCl x86-32 security issues are fixed | 502 // TODO(dspringer): remove this when NaCl x86-32 security issues are fixed |
| 503 switches::kEnableNaClOnMac, | 503 switches::kEnableNaClOnMac, |
| 504 #endif // OS_MACOSX | 504 #endif // OS_MACOSX |
| 505 #endif // GOOGLE_CHROME_BUILD | 505 #endif // GOOGLE_CHROME_BUILD |
| 506 switches::kDomAutomationController, | 506 switches::kDomAutomationController, |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 999 IPC::InvalidPlatformFileForTransit(), | 999 IPC::InvalidPlatformFileForTransit(), |
| 1000 std::vector<std::string>(), | 1000 std::vector<std::string>(), |
| 1001 std::string(), | 1001 std::string(), |
| 1002 false)); | 1002 false)); |
| 1003 } | 1003 } |
| 1004 } | 1004 } |
| 1005 | 1005 |
| 1006 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { | 1006 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { |
| 1007 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); | 1007 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); |
| 1008 } | 1008 } |
| OLD | NEW |