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 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
592 | 592 |
593 // Runs the renderer and plugins in the same process as the browser | 593 // Runs the renderer and plugins in the same process as the browser |
594 const char kSingleProcess[] = "single-process"; | 594 const char kSingleProcess[] = "single-process"; |
595 | 595 |
596 // Skip gpu info collection, blacklist loading, and blacklist auto-update | 596 // Skip gpu info collection, blacklist loading, and blacklist auto-update |
597 // scheduling at browser startup time. | 597 // scheduling at browser startup time. |
598 // Therefore, all GPU features are available, and about:gpu page shows empty | 598 // Therefore, all GPU features are available, and about:gpu page shows empty |
599 // content. The switch is intended only for tests. | 599 // content. The switch is intended only for tests. |
600 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; | 600 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; |
601 | 601 |
| 602 // Skip collecting full GPU info upon GPU process launch. |
| 603 const char kSkipGpuFullInfoCollection[] = "skip-gpu-full-info-collection"; |
| 604 |
602 // GestureTapDown events are deferred by this many miillseconds before | 605 // GestureTapDown events are deferred by this many miillseconds before |
603 // sending them to the renderer. | 606 // sending them to the renderer. |
604 const char kTapDownDeferralTimeMs[] = "tap-down-deferral-time"; | 607 const char kTapDownDeferralTimeMs[] = "tap-down-deferral-time"; |
605 | 608 |
606 // Runs the security test for the renderer sandbox. | 609 // Runs the security test for the renderer sandbox. |
607 const char kTestSandbox[] = "test-sandbox"; | 610 const char kTestSandbox[] = "test-sandbox"; |
608 | 611 |
609 // Allows for forcing socket connections to http/https to use fixed ports. | 612 // Allows for forcing socket connections to http/https to use fixed ports. |
610 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 613 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
611 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 614 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 // Sets the width and height above which a composited layer will get tiled. | 733 // Sets the width and height above which a composited layer will get tiled. |
731 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 734 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
732 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 735 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
733 | 736 |
734 const char kEnableFixedPositionCreatesStackingContext[] | 737 const char kEnableFixedPositionCreatesStackingContext[] |
735 = "enable-fixed-position-creates-stacking-context"; | 738 = "enable-fixed-position-creates-stacking-context"; |
736 const char kDisableFixedPositionCreatesStackingContext[] | 739 const char kDisableFixedPositionCreatesStackingContext[] |
737 = "disable-fixed-position-creates-stacking-context"; | 740 = "disable-fixed-position-creates-stacking-context"; |
738 | 741 |
739 } // namespace switches | 742 } // namespace switches |
OLD | NEW |