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