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

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

Issue 2013633003: Adding a command-line flag to set MHTML generation options. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
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 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 "main-frame-resizes-are-orientation-changes"; 628 "main-frame-resizes-are-orientation-changes";
629 629
630 // Sets the width and height above which a composited layer will get tiled. 630 // Sets the width and height above which a composited layer will get tiled.
631 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 631 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
632 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 632 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
633 633
634 // Sample memory usage with high frequency and store the results to the 634 // Sample memory usage with high frequency and store the results to the
635 // Renderer.Memory histogram. Used in memory tests. 635 // Renderer.Memory histogram. Used in memory tests.
636 const char kMemoryMetrics[] = "memory-metrics"; 636 const char kMemoryMetrics[] = "memory-metrics";
637 637
638 // Sets options for MHTML generator to skip no-store resources:
639 // "skip_nostore_main" - fails to save a page if main frame is 'no-store'
640 // "skip_nostore_all" - also skips no-store subresources.
641 const char kMHTMLGeneratorOption[] = "mhtml-generator-option";
642
638 // Use a Mojo-based LocalStorage implementation. 643 // Use a Mojo-based LocalStorage implementation.
639 const char kMojoLocalStorage[] = "mojo-local-storage"; 644 const char kMojoLocalStorage[] = "mojo-local-storage";
640 645
641 // Mutes audio sent to the audio device so it is not audible during 646 // Mutes audio sent to the audio device so it is not audible during
642 // automated testing. 647 // automated testing.
643 const char kMuteAudio[] = "mute-audio"; 648 const char kMuteAudio[] = "mute-audio";
644 649
645 // Don't send HTTP-Referer headers. 650 // Don't send HTTP-Referer headers.
646 const char kNoReferrers[] = "no-referrers"; 651 const char kNoReferrers[] = "no-referrers";
647 652
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1047 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1043 1048
1044 // Enables the exporting of the tracing events to ETW. This is only supported on 1049 // Enables the exporting of the tracing events to ETW. This is only supported on
1045 // Windows Vista and later. 1050 // Windows Vista and later.
1046 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1051 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1047 #endif 1052 #endif
1048 1053
1049 // Don't dump stuff here, follow the same order as the header. 1054 // Don't dump stuff here, follow the same order as the header.
1050 1055
1051 } // namespace switches 1056 } // namespace switches
OLDNEW
« content/browser/download/save_package.cc ('K') | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698