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 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 "enable-stats-collection-bindings"; | 738 "enable-stats-collection-bindings"; |
739 | 739 |
740 // Upscale defaults to "good". | 740 // Upscale defaults to "good". |
741 const char kTabCaptureDownscaleQuality[] = "tab-capture-downscale-quality"; | 741 const char kTabCaptureDownscaleQuality[] = "tab-capture-downscale-quality"; |
742 | 742 |
743 // Scaling quality for capturing tab. Should be one of "fast", "good" or "best". | 743 // Scaling quality for capturing tab. Should be one of "fast", "good" or "best". |
744 // One flag for upscaling, one for downscaling. | 744 // One flag for upscaling, one for downscaling. |
745 // Upscale defaults to "best". | 745 // Upscale defaults to "best". |
746 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; | 746 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; |
747 | 747 |
| 748 // Options for hiding the close buttons of inactive tabs when touch |
| 749 // is used to interact with the tabstrip. |
| 750 const char kTabCloseButtonsHiddenWithTouch[] = |
| 751 "tab-close-buttons-hidden-with-touch"; |
| 752 |
748 // Allows for forcing socket connections to http/https to use fixed ports. | 753 // Allows for forcing socket connections to http/https to use fixed ports. |
749 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 754 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
750 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 755 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
751 | 756 |
752 // Type of the current test harness ("browser" or "ui"). | 757 // Type of the current test harness ("browser" or "ui"). |
753 const char kTestType[] = "test-type"; | 758 const char kTestType[] = "test-type"; |
754 | 759 |
755 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, | 760 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, |
756 // can specify the specific trace categories to include (e.g. | 761 // can specify the specific trace categories to include (e.g. |
757 // --trace-shutdown=base,net) otherwise, all events are recorded. | 762 // --trace-shutdown=base,net) otherwise, all events are recorded. |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
958 const char kEnableNpapi[] = "enable-npapi"; | 963 const char kEnableNpapi[] = "enable-npapi"; |
959 | 964 |
960 #if defined(ENABLE_PLUGINS) | 965 #if defined(ENABLE_PLUGINS) |
961 // Enables the plugin power saver feature. | 966 // Enables the plugin power saver feature. |
962 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 967 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
963 #endif | 968 #endif |
964 | 969 |
965 // Don't dump stuff here, follow the same order as the header. | 970 // Don't dump stuff here, follow the same order as the header. |
966 | 971 |
967 } // namespace switches | 972 } // namespace switches |
OLD | NEW |