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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 const char kNoSandbox[] = "no-sandbox"; | 544 const char kNoSandbox[] = "no-sandbox"; |
545 | 545 |
546 // Enables the sandboxed processes to run without a job object assigned to them. | 546 // Enables the sandboxed processes to run without a job object assigned to them. |
547 // This flag is required to allow Chrome to run in RemoteApps or Citrix. This | 547 // This flag is required to allow Chrome to run in RemoteApps or Citrix. This |
548 // flag can reduce the security of the sandboxed processes and allow them to do | 548 // flag can reduce the security of the sandboxed processes and allow them to do |
549 // certain API calls like shut down Windows or access the clipboard. Also we | 549 // certain API calls like shut down Windows or access the clipboard. Also we |
550 // lose the chance to kill some processes until the outer job that owns them | 550 // lose the chance to kill some processes until the outer job that owns them |
551 // finishes. | 551 // finishes. |
552 const char kAllowNoSandboxJob[] = "allow-no-sandbox-job"; | 552 const char kAllowNoSandboxJob[] = "allow-no-sandbox-job"; |
553 | 553 |
| 554 // Use the new IndexedDB backend implemented in Chromium. By default, |
| 555 // the old backend implemented in Blink is used. |
| 556 const char kNewIndexedDB[] = "new-indexeddb"; |
| 557 |
554 // Specifies a command that should be used to launch the plugin process. Useful | 558 // Specifies a command that should be used to launch the plugin process. Useful |
555 // for running the plugin process through purify or quantify. Ex: | 559 // for running the plugin process through purify or quantify. Ex: |
556 // --plugin-launcher="path\to\purify /Run=yes" | 560 // --plugin-launcher="path\to\purify /Run=yes" |
557 const char kPluginLauncher[] = "plugin-launcher"; | 561 const char kPluginLauncher[] = "plugin-launcher"; |
558 | 562 |
559 // Tells the plugin process the path of the plugin to load | 563 // Tells the plugin process the path of the plugin to load |
560 const char kPluginPath[] = "plugin-path"; | 564 const char kPluginPath[] = "plugin-path"; |
561 | 565 |
562 // Causes the process to run as a plugin subprocess. | 566 // Causes the process to run as a plugin subprocess. |
563 const char kPluginProcess[] = "plugin"; | 567 const char kPluginProcess[] = "plugin"; |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 const char kOverscrollHistoryNavigation[] = | 845 const char kOverscrollHistoryNavigation[] = |
842 "overscroll-history-navigation"; | 846 "overscroll-history-navigation"; |
843 | 847 |
844 // Forward overscroll event data from the renderer to the browser. | 848 // Forward overscroll event data from the renderer to the browser. |
845 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 849 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
846 | 850 |
847 // Enables 'image/webp' accept header for image requests. | 851 // Enables 'image/webp' accept header for image requests. |
848 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 852 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
849 | 853 |
850 } // namespace switches | 854 } // namespace switches |
OLD | NEW |