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

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

Issue 1690013002: Remove --tab-capture-upscale/downscale-quality. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address piman's comments. Created 4 years, 8 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') | no next file » | 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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 // had pressed F11 right after startup. 764 // had pressed F11 right after startup.
765 const char kStartFullscreen[] = "start-fullscreen"; 765 const char kStartFullscreen[] = "start-fullscreen";
766 766
767 // Specifies if the |StatsCollectionController| needs to be bound in the 767 // Specifies if the |StatsCollectionController| needs to be bound in the
768 // renderer. This binding happens on per-frame basis and hence can potentially 768 // renderer. This binding happens on per-frame basis and hence can potentially
769 // be a performance bottleneck. One should only enable it when running a test 769 // be a performance bottleneck. One should only enable it when running a test
770 // that needs to access the provided statistics. 770 // that needs to access the provided statistics.
771 const char kStatsCollectionController[] = 771 const char kStatsCollectionController[] =
772 "enable-stats-collection-bindings"; 772 "enable-stats-collection-bindings";
773 773
774 // Upscale defaults to "good".
775 const char kTabCaptureDownscaleQuality[] = "tab-capture-downscale-quality";
776
777 // Scaling quality for capturing tab. Should be one of "fast", "good" or "best".
778 // One flag for upscaling, one for downscaling.
779 // Upscale defaults to "best".
780 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality";
781
782 // Allows for forcing socket connections to http/https to use fixed ports. 774 // Allows for forcing socket connections to http/https to use fixed ports.
783 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; 775 const char kTestingFixedHttpPort[] = "testing-fixed-http-port";
784 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; 776 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port";
785 777
786 // Type of the current test harness ("browser" or "ui"). 778 // Type of the current test harness ("browser" or "ui").
787 const char kTestType[] = "test-type"; 779 const char kTestType[] = "test-type";
788 780
789 // Groups all out-of-process iframes to a different process from the process 781 // Groups all out-of-process iframes to a different process from the process
790 // of the top document. This is a performance isolation mode. 782 // of the top document. This is a performance isolation mode.
791 const char kTopDocumentIsolation[] = "top-document-isolation"; 783 const char kTopDocumentIsolation[] = "top-document-isolation";
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1004 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1013 1005
1014 // Enables the exporting of the tracing events to ETW. This is only supported on 1006 // Enables the exporting of the tracing events to ETW. This is only supported on
1015 // Windows Vista and later. 1007 // Windows Vista and later.
1016 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1008 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1017 #endif 1009 #endif
1018 1010
1019 // Don't dump stuff here, follow the same order as the header. 1011 // Don't dump stuff here, follow the same order as the header.
1020 1012
1021 } // namespace switches 1013 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698