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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 | 413 |
414 // Run the GPU process as a thread in the browser process. | 414 // Run the GPU process as a thread in the browser process. |
415 const char kInProcessGPU[] = "in-process-gpu"; | 415 const char kInProcessGPU[] = "in-process-gpu"; |
416 | 416 |
417 // Runs plugins inside the renderer process | 417 // Runs plugins inside the renderer process |
418 const char kInProcessPlugins[] = "in-process-plugins"; | 418 const char kInProcessPlugins[] = "in-process-plugins"; |
419 | 419 |
420 // Runs WebGL inside the renderer process. | 420 // Runs WebGL inside the renderer process. |
421 const char kInProcessWebGL[] = "in-process-webgl"; | 421 const char kInProcessWebGL[] = "in-process-webgl"; |
422 | 422 |
423 // Invert web content pixels, for users who prefer white-on-black. | |
424 // (Temporary, just during development and testing of this feature.) | |
425 const char kInvertWebContent[] = "invert-web-content"; | |
426 | |
427 // Specifies the flags passed to JS engine | 423 // Specifies the flags passed to JS engine |
428 const char kJavaScriptFlags[] = "js-flags"; | 424 const char kJavaScriptFlags[] = "js-flags"; |
429 | 425 |
430 // Load an NPAPI plugin from the specified path. | 426 // Load an NPAPI plugin from the specified path. |
431 const char kLoadPlugin[] = "load-plugin"; | 427 const char kLoadPlugin[] = "load-plugin"; |
432 | 428 |
433 // Sets the minimum log level. Valid values are from 0 to 3: | 429 // Sets the minimum log level. Valid values are from 0 to 3: |
434 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. | 430 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. |
435 const char kLoggingLevel[] = "log-level"; | 431 const char kLoggingLevel[] = "log-level"; |
436 | 432 |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 const char kDefaultTileWidth[] = "default-tile-width"; | 660 const char kDefaultTileWidth[] = "default-tile-width"; |
665 const char kDefaultTileHeight[] = "default-tile-height"; | 661 const char kDefaultTileHeight[] = "default-tile-height"; |
666 | 662 |
667 // Sets the width and height above which a composited layer will get tiled. | 663 // Sets the width and height above which a composited layer will get tiled. |
668 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 664 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
669 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 665 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
670 | 666 |
671 const char kFixedPositionCreatesStackingContext[] | 667 const char kFixedPositionCreatesStackingContext[] |
672 = "fixed-position-creates-stacking-context"; | 668 = "fixed-position-creates-stacking-context"; |
673 } // namespace switches | 669 } // namespace switches |
OLD | NEW |