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