| 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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 // with any associated values) if present in the browser command line. | 493 // with any associated values) if present in the browser command line. |
| 494 static const char* const switch_names[] = { | 494 static const char* const switch_names[] = { |
| 495 switches::kRendererAssertTest, | 495 switches::kRendererAssertTest, |
| 496 #if !defined(OFFICIAL_BUILD) | 496 #if !defined(OFFICIAL_BUILD) |
| 497 switches::kRendererCheckFalseTest, | 497 switches::kRendererCheckFalseTest, |
| 498 #endif // !defined(OFFICIAL_BUILD) | 498 #endif // !defined(OFFICIAL_BUILD) |
| 499 switches::kRendererCrashTest, | 499 switches::kRendererCrashTest, |
| 500 switches::kRendererStartupDialog, | 500 switches::kRendererStartupDialog, |
| 501 switches::kNoSandbox, | 501 switches::kNoSandbox, |
| 502 switches::kTestSandbox, | 502 switches::kTestSandbox, |
| 503 #if defined(USE_SECCOMP_SANDBOX) |
| 504 switches::kDisableSeccompSandbox, |
| 505 #else |
| 503 switches::kEnableSeccompSandbox, | 506 switches::kEnableSeccompSandbox, |
| 507 #endif |
| 504 #if !defined (GOOGLE_CHROME_BUILD) | 508 #if !defined (GOOGLE_CHROME_BUILD) |
| 505 // These are unsupported and not fully tested modes, so don't enable them | 509 // These are unsupported and not fully tested modes, so don't enable them |
| 506 // for official Google Chrome builds. | 510 // for official Google Chrome builds. |
| 507 switches::kInProcessPlugins, | 511 switches::kInProcessPlugins, |
| 508 #endif // GOOGLE_CHROME_BUILD | 512 #endif // GOOGLE_CHROME_BUILD |
| 509 switches::kDomAutomationController, | 513 switches::kDomAutomationController, |
| 510 switches::kUserAgent, | 514 switches::kUserAgent, |
| 511 switches::kNoReferrers, | 515 switches::kNoReferrers, |
| 512 switches::kJavaScriptFlags, | 516 switches::kJavaScriptFlags, |
| 513 switches::kRecordMode, | 517 switches::kRecordMode, |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1020 IPC::InvalidPlatformFileForTransit(), | 1024 IPC::InvalidPlatformFileForTransit(), |
| 1021 std::vector<std::string>(), | 1025 std::vector<std::string>(), |
| 1022 std::string(), | 1026 std::string(), |
| 1023 false)); | 1027 false)); |
| 1024 } | 1028 } |
| 1025 } | 1029 } |
| 1026 | 1030 |
| 1027 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { | 1031 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { |
| 1028 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); | 1032 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); |
| 1029 } | 1033 } |
| OLD | NEW |