| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
| 6 | 6 |
| 7 namespace switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
| 10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
| (...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 const char kNoSandbox[] = "no-sandbox"; | 545 const char kNoSandbox[] = "no-sandbox"; |
| 546 | 546 |
| 547 // Enables the sandboxed processes to run without a job object assigned to them. | 547 // Enables the sandboxed processes to run without a job object assigned to them. |
| 548 // This flag is required to allow Chrome to run in RemoteApps or Citrix. This | 548 // This flag is required to allow Chrome to run in RemoteApps or Citrix. This |
| 549 // flag can reduce the security of the sandboxed processes and allow them to do | 549 // flag can reduce the security of the sandboxed processes and allow them to do |
| 550 // certain API calls like shut down Windows or access the clipboard. Also we | 550 // certain API calls like shut down Windows or access the clipboard. Also we |
| 551 // lose the chance to kill some processes until the outer job that owns them | 551 // lose the chance to kill some processes until the outer job that owns them |
| 552 // finishes. | 552 // finishes. |
| 553 const char kAllowNoSandboxJob[] = "allow-no-sandbox-job"; | 553 const char kAllowNoSandboxJob[] = "allow-no-sandbox-job"; |
| 554 | 554 |
| 555 // Use the new IndexedDB backend implemented in Chromium. By default, | |
| 556 // the old backend implemented in Blink is used. | |
| 557 const char kNewIndexedDB[] = "new-indexeddb"; | |
| 558 | |
| 559 // Specifies a command that should be used to launch the plugin process. Useful | 555 // Specifies a command that should be used to launch the plugin process. Useful |
| 560 // for running the plugin process through purify or quantify. Ex: | 556 // for running the plugin process through purify or quantify. Ex: |
| 561 // --plugin-launcher="path\to\purify /Run=yes" | 557 // --plugin-launcher="path\to\purify /Run=yes" |
| 562 const char kPluginLauncher[] = "plugin-launcher"; | 558 const char kPluginLauncher[] = "plugin-launcher"; |
| 563 | 559 |
| 564 // Tells the plugin process the path of the plugin to load | 560 // Tells the plugin process the path of the plugin to load |
| 565 const char kPluginPath[] = "plugin-path"; | 561 const char kPluginPath[] = "plugin-path"; |
| 566 | 562 |
| 567 // Causes the process to run as a plugin subprocess. | 563 // Causes the process to run as a plugin subprocess. |
| 568 const char kPluginProcess[] = "plugin"; | 564 const char kPluginProcess[] = "plugin"; |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 const char kOverscrollHistoryNavigation[] = | 832 const char kOverscrollHistoryNavigation[] = |
| 837 "overscroll-history-navigation"; | 833 "overscroll-history-navigation"; |
| 838 | 834 |
| 839 // Forward overscroll event data from the renderer to the browser. | 835 // Forward overscroll event data from the renderer to the browser. |
| 840 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 836 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
| 841 | 837 |
| 842 // Enables 'image/webp' accept header for image requests. | 838 // Enables 'image/webp' accept header for image requests. |
| 843 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 839 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
| 844 | 840 |
| 845 } // namespace switches | 841 } // namespace switches |
| OLD | NEW |