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 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. | 492 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. |
493 const char kLoggingLevel[] = "log-level"; | 493 const char kLoggingLevel[] = "log-level"; |
494 | 494 |
495 // Make plugin processes log their sent and received messages to VLOG(1). | 495 // Make plugin processes log their sent and received messages to VLOG(1). |
496 const char kLogPluginMessages[] = "log-plugin-messages"; | 496 const char kLogPluginMessages[] = "log-plugin-messages"; |
497 | 497 |
498 // Sample memory usage with high frequency and store the results to the | 498 // Sample memory usage with high frequency and store the results to the |
499 // Renderer.Memory histogram. Used in memory tests. | 499 // Renderer.Memory histogram. Used in memory tests. |
500 const char kMemoryMetrics[] = "memory-metrics"; | 500 const char kMemoryMetrics[] = "memory-metrics"; |
501 | 501 |
502 // Causes the process to run as a NativeClient broker | |
503 // (used for launching NaCl loader processes on 64-bit Windows). | |
504 const char kNaClBrokerProcess[] = "nacl-broker"; | |
505 | |
506 // Causes the process to run as a NativeClient loader. | |
507 const char kNaClLoaderProcess[] = "nacl-loader"; | |
508 | |
509 // Don't send HTTP-Referer headers. | 502 // Don't send HTTP-Referer headers. |
510 const char kNoReferrers[] = "no-referrers"; | 503 const char kNoReferrers[] = "no-referrers"; |
511 | 504 |
512 // Disables the sandbox for all process types that are normally sandboxed. | 505 // Disables the sandbox for all process types that are normally sandboxed. |
513 const char kNoSandbox[] = "no-sandbox"; | 506 const char kNoSandbox[] = "no-sandbox"; |
514 | 507 |
515 // Enables the sandboxed processes to run without a job object assigned to them. | 508 // Enables the sandboxed processes to run without a job object assigned to them. |
516 // This flag is required to allow Chrome to run in RemoteApps or Citrix. This | 509 // This flag is required to allow Chrome to run in RemoteApps or Citrix. This |
517 // flag can reduce the security of the sandboxed processes and allow them to do | 510 // flag can reduce the security of the sandboxed processes and allow them to do |
518 // certain API calls like shut down Windows or access the clipboard. Also we | 511 // certain API calls like shut down Windows or access the clipboard. Also we |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 = "disable-fixed-position-creates-stacking-context"; | 765 = "disable-fixed-position-creates-stacking-context"; |
773 | 766 |
774 // Defer image decoding in WebKit until painting. | 767 // Defer image decoding in WebKit until painting. |
775 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 768 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
776 | 769 |
777 // Disables history navigation in response to horizontal overscroll. | 770 // Disables history navigation in response to horizontal overscroll. |
778 const char kDisableOverscrollHistoryNavigation[] = | 771 const char kDisableOverscrollHistoryNavigation[] = |
779 "disable-overscroll-history-navigation"; | 772 "disable-overscroll-history-navigation"; |
780 | 773 |
781 } // namespace switches | 774 } // namespace switches |
OLD | NEW |