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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 const char kNoSandbox[] = "no-sandbox"; | 529 const char kNoSandbox[] = "no-sandbox"; |
530 | 530 |
531 // Enables the sandboxed processes to run without a job object assigned to them. | 531 // Enables the sandboxed processes to run without a job object assigned to them. |
532 // This flag is required to allow Chrome to run in RemoteApps or Citrix. This | 532 // This flag is required to allow Chrome to run in RemoteApps or Citrix. This |
533 // flag can reduce the security of the sandboxed processes and allow them to do | 533 // flag can reduce the security of the sandboxed processes and allow them to do |
534 // certain API calls like shut down Windows or access the clipboard. Also we | 534 // certain API calls like shut down Windows or access the clipboard. Also we |
535 // lose the chance to kill some processes until the outer job that owns them | 535 // lose the chance to kill some processes until the outer job that owns them |
536 // finishes. | 536 // finishes. |
537 const char kAllowNoSandboxJob[] = "allow-no-sandbox-job"; | 537 const char kAllowNoSandboxJob[] = "allow-no-sandbox-job"; |
538 | 538 |
| 539 // Use the new IndexedDB backend implemented in Chromium. By default, |
| 540 // the old backend implemented in Blink is used. |
| 541 const char kNewIndexedDB[] = "new-indexeddb"; |
| 542 |
539 // Specifies a command that should be used to launch the plugin process. Useful | 543 // Specifies a command that should be used to launch the plugin process. Useful |
540 // for running the plugin process through purify or quantify. Ex: | 544 // for running the plugin process through purify or quantify. Ex: |
541 // --plugin-launcher="path\to\purify /Run=yes" | 545 // --plugin-launcher="path\to\purify /Run=yes" |
542 const char kPluginLauncher[] = "plugin-launcher"; | 546 const char kPluginLauncher[] = "plugin-launcher"; |
543 | 547 |
544 // Tells the plugin process the path of the plugin to load | 548 // Tells the plugin process the path of the plugin to load |
545 const char kPluginPath[] = "plugin-path"; | 549 const char kPluginPath[] = "plugin-path"; |
546 | 550 |
547 // Causes the process to run as a plugin subprocess. | 551 // Causes the process to run as a plugin subprocess. |
548 const char kPluginProcess[] = "plugin"; | 552 const char kPluginProcess[] = "plugin"; |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 const char kOverscrollHistoryNavigation[] = | 820 const char kOverscrollHistoryNavigation[] = |
817 "overscroll-history-navigation"; | 821 "overscroll-history-navigation"; |
818 | 822 |
819 // Forward overscroll event data from the renderer to the browser. | 823 // Forward overscroll event data from the renderer to the browser. |
820 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 824 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
821 | 825 |
822 // Enables 'image/webp' accept header for image requests. | 826 // Enables 'image/webp' accept header for image requests. |
823 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 827 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
824 | 828 |
825 } // namespace switches | 829 } // namespace switches |
OLD | NEW |