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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 | 372 |
373 // Run the GPU process as a thread in the browser process. | 373 // Run the GPU process as a thread in the browser process. |
374 const char kInProcessGPU[] = "in-process-gpu"; | 374 const char kInProcessGPU[] = "in-process-gpu"; |
375 | 375 |
376 // Runs plugins inside the renderer process | 376 // Runs plugins inside the renderer process |
377 const char kInProcessPlugins[] = "in-process-plugins"; | 377 const char kInProcessPlugins[] = "in-process-plugins"; |
378 | 378 |
379 // Runs WebGL inside the renderer process. | 379 // Runs WebGL inside the renderer process. |
380 const char kInProcessWebGL[] = "in-process-webgl"; | 380 const char kInProcessWebGL[] = "in-process-webgl"; |
381 | 381 |
| 382 // Invert web content pixels, for users who prefer white-on-black. |
| 383 // (Temporary, just during development and testing of this feature.) |
| 384 const char kInvertWebContent[] = "invert-web-content"; |
| 385 |
382 // Specifies the flags passed to JS engine | 386 // Specifies the flags passed to JS engine |
383 const char kJavaScriptFlags[] = "js-flags"; | 387 const char kJavaScriptFlags[] = "js-flags"; |
384 | 388 |
385 // Load an NPAPI plugin from the specified path. | 389 // Load an NPAPI plugin from the specified path. |
386 const char kLoadPlugin[] = "load-plugin"; | 390 const char kLoadPlugin[] = "load-plugin"; |
387 | 391 |
388 // Sets the minimum log level. Valid values are from 0 to 3: | 392 // Sets the minimum log level. Valid values are from 0 to 3: |
389 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. | 393 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. |
390 const char kLoggingLevel[] = "log-level"; | 394 const char kLoggingLevel[] = "log-level"; |
391 | 395 |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 623 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
620 #endif | 624 #endif |
621 | 625 |
622 // Enable per-tile page painting. | 626 // Enable per-tile page painting. |
623 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; | 627 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; |
624 | 628 |
625 // Disables the use of a 3D software rasterizer. | 629 // Disables the use of a 3D software rasterizer. |
626 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 630 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
627 | 631 |
628 } // namespace switches | 632 } // namespace switches |
OLD | NEW |