Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(578)

Side by Side Diff: content/public/common/content_switches.cc

Issue 893843007: Experiment to hide close buttons of inactive tabs when using touch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added flag to histograms.xml Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/common/content_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 "enable-stats-collection-bindings"; 750 "enable-stats-collection-bindings";
751 751
752 // Upscale defaults to "good". 752 // Upscale defaults to "good".
753 const char kTabCaptureDownscaleQuality[] = "tab-capture-downscale-quality"; 753 const char kTabCaptureDownscaleQuality[] = "tab-capture-downscale-quality";
754 754
755 // Scaling quality for capturing tab. Should be one of "fast", "good" or "best". 755 // Scaling quality for capturing tab. Should be one of "fast", "good" or "best".
756 // One flag for upscaling, one for downscaling. 756 // One flag for upscaling, one for downscaling.
757 // Upscale defaults to "best". 757 // Upscale defaults to "best".
758 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; 758 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality";
759 759
760 // Options for hiding the close buttons of inactive tabs when touch
761 // is used to interact with the tabstrip.
762 const char kTabCloseButtonsHiddenWithTouch[] =
763 "tab-close-buttons-hidden-with-touch";
764
760 // Allows for forcing socket connections to http/https to use fixed ports. 765 // Allows for forcing socket connections to http/https to use fixed ports.
761 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; 766 const char kTestingFixedHttpPort[] = "testing-fixed-http-port";
762 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; 767 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port";
763 768
764 // Type of the current test harness ("browser" or "ui"). 769 // Type of the current test harness ("browser" or "ui").
765 const char kTestType[] = "test-type"; 770 const char kTestType[] = "test-type";
766 771
767 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, 772 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally,
768 // can specify the specific trace categories to include (e.g. 773 // can specify the specific trace categories to include (e.g.
769 // --trace-shutdown=base,net) otherwise, all events are recorded. 774 // --trace-shutdown=base,net) otherwise, all events are recorded.
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 const char kEnableNpapi[] = "enable-npapi"; 975 const char kEnableNpapi[] = "enable-npapi";
971 976
972 #if defined(ENABLE_PLUGINS) 977 #if defined(ENABLE_PLUGINS)
973 // Enables the plugin power saver feature. 978 // Enables the plugin power saver feature.
974 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 979 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
975 #endif 980 #endif
976 981
977 // Don't dump stuff here, follow the same order as the header. 982 // Don't dump stuff here, follow the same order as the header.
978 983
979 } // namespace switches 984 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698