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 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 | 497 |
498 // Runs PPAPI (Pepper) plugins out-of-process. | 498 // Runs PPAPI (Pepper) plugins out-of-process. |
499 const char kPpapiOutOfProcess[] = "ppapi-out-of-process"; | 499 const char kPpapiOutOfProcess[] = "ppapi-out-of-process"; |
500 | 500 |
501 // Like kPluginLauncher for PPAPI plugins. | 501 // Like kPluginLauncher for PPAPI plugins. |
502 const char kPpapiPluginLauncher[] = "ppapi-plugin-launcher"; | 502 const char kPpapiPluginLauncher[] = "ppapi-plugin-launcher"; |
503 | 503 |
504 // Argument to the process type that indicates a PPAPI plugin process type. | 504 // Argument to the process type that indicates a PPAPI plugin process type. |
505 const char kPpapiPluginProcess[] = "ppapi"; | 505 const char kPpapiPluginProcess[] = "ppapi"; |
506 | 506 |
507 // Causes the PPAPI sub process to display a dialog on launch. | 507 // Causes the PPAPI sub process to display a dialog on launch. Be sure to use |
| 508 // --no-sandbox as well or the sandbox won't allow the dialog to display. |
508 const char kPpapiStartupDialog[] = "ppapi-startup-dialog"; | 509 const char kPpapiStartupDialog[] = "ppapi-startup-dialog"; |
509 | 510 |
510 // Runs a single process for each site (i.e., group of pages from the same | 511 // Runs a single process for each site (i.e., group of pages from the same |
511 // registered domain) the user visits. We default to using a renderer process | 512 // registered domain) the user visits. We default to using a renderer process |
512 // for each site instance (i.e., group of pages from the same registered | 513 // for each site instance (i.e., group of pages from the same registered |
513 // domain with script connections to each other). | 514 // domain with script connections to each other). |
514 const char kProcessPerSite[] = "process-per-site"; | 515 const char kProcessPerSite[] = "process-per-site"; |
515 | 516 |
516 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own | 517 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own |
517 // renderer process. We default to using a renderer process for each | 518 // renderer process. We default to using a renderer process for each |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 // Sets the width and height above which a composited layer will get tiled. | 699 // Sets the width and height above which a composited layer will get tiled. |
699 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 700 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
700 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 701 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
701 | 702 |
702 const char kEnableFixedPositionCreatesStackingContext[] | 703 const char kEnableFixedPositionCreatesStackingContext[] |
703 = "enable-fixed-position-creates-stacking-context"; | 704 = "enable-fixed-position-creates-stacking-context"; |
704 const char kDisableFixedPositionCreatesStackingContext[] | 705 const char kDisableFixedPositionCreatesStackingContext[] |
705 = "disable-fixed-position-creates-stacking-context"; | 706 = "disable-fixed-position-creates-stacking-context"; |
706 | 707 |
707 } // namespace switches | 708 } // namespace switches |
OLD | NEW |