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