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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 // Load an NPAPI plugin from the specified path. | 479 // Load an NPAPI plugin from the specified path. |
480 const char kLoadPlugin[] = "load-plugin"; | 480 const char kLoadPlugin[] = "load-plugin"; |
481 | 481 |
482 // Sets the minimum log level. Valid values are from 0 to 3: | 482 // Sets the minimum log level. Valid values are from 0 to 3: |
483 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. | 483 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. |
484 const char kLoggingLevel[] = "log-level"; | 484 const char kLoggingLevel[] = "log-level"; |
485 | 485 |
486 // Make plugin processes log their sent and received messages to VLOG(1). | 486 // Make plugin processes log their sent and received messages to VLOG(1). |
487 const char kLogPluginMessages[] = "log-plugin-messages"; | 487 const char kLogPluginMessages[] = "log-plugin-messages"; |
488 | 488 |
| 489 // Sample memory usage with high frequency and store the results to the |
| 490 // Renderer.Memory histogram. Used in memory tests. |
| 491 const char kMemoryMetrics[] = "memory-metrics"; |
| 492 |
489 // Causes the process to run as a NativeClient broker | 493 // Causes the process to run as a NativeClient broker |
490 // (used for launching NaCl loader processes on 64-bit Windows). | 494 // (used for launching NaCl loader processes on 64-bit Windows). |
491 const char kNaClBrokerProcess[] = "nacl-broker"; | 495 const char kNaClBrokerProcess[] = "nacl-broker"; |
492 | 496 |
493 // Causes the process to run as a NativeClient loader. | 497 // Causes the process to run as a NativeClient loader. |
494 const char kNaClLoaderProcess[] = "nacl-loader"; | 498 const char kNaClLoaderProcess[] = "nacl-loader"; |
495 | 499 |
496 // Don't send HTTP-Referer headers. | 500 // Don't send HTTP-Referer headers. |
497 const char kNoReferrers[] = "no-referrers"; | 501 const char kNoReferrers[] = "no-referrers"; |
498 | 502 |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 = "disable-fixed-position-creates-stacking-context"; | 773 = "disable-fixed-position-creates-stacking-context"; |
770 | 774 |
771 // Defer image decoding in WebKit until painting. | 775 // Defer image decoding in WebKit until painting. |
772 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 776 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
773 | 777 |
774 // Enables history navigation in response to horizontal overscroll. | 778 // Enables history navigation in response to horizontal overscroll. |
775 const char kEnableOverscrollHistoryNavigation[] = | 779 const char kEnableOverscrollHistoryNavigation[] = |
776 "enable-overscroll-history-navigation"; | 780 "enable-overscroll-history-navigation"; |
777 | 781 |
778 } // namespace switches | 782 } // namespace switches |
OLD | NEW |