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

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

Issue 2640143002: Allow autoplay unmuted for WebAPK in the manifest scope (Closed)
Patch Set: addressed mlamouri's comments & cl format Created 3 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
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 #include "media/media_features.h" 7 #include "media/media_features.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 647
648 // Resizes of the main frame are caused by changing between landscape and 648 // Resizes of the main frame are caused by changing between landscape and
649 // portrait mode (i.e. Android) so the page should be rescaled to fit. 649 // portrait mode (i.e. Android) so the page should be rescaled to fit.
650 const char kMainFrameResizesAreOrientationChanges[] = 650 const char kMainFrameResizesAreOrientationChanges[] =
651 "main-frame-resizes-are-orientation-changes"; 651 "main-frame-resizes-are-orientation-changes";
652 652
653 // Sets the width and height above which a composited layer will get tiled. 653 // Sets the width and height above which a composited layer will get tiled.
654 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 654 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
655 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 655 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
656 656
657 // Disable gesture requirement for media playback in the specified whitelist.
658 const char kMediaPlaybackGestureWhitelistScope[] =
659 "media-playback-gesture-whitelist-scope";
660
657 // Sample memory usage with high frequency and store the results to the 661 // Sample memory usage with high frequency and store the results to the
658 // Renderer.Memory histogram. Used in memory tests. 662 // Renderer.Memory histogram. Used in memory tests.
659 const char kMemoryMetrics[] = "memory-metrics"; 663 const char kMemoryMetrics[] = "memory-metrics";
660 664
661 // Sets options for MHTML generator to skip no-store resources: 665 // Sets options for MHTML generator to skip no-store resources:
662 // "skip-nostore-main" - fails to save a page if main frame is 'no-store' 666 // "skip-nostore-main" - fails to save a page if main frame is 'no-store'
663 // "skip-nostore-all" - also skips no-store subresources. 667 // "skip-nostore-all" - also skips no-store subresources.
664 const char kMHTMLGeneratorOption[] = "mhtml-generator-option"; 668 const char kMHTMLGeneratorOption[] = "mhtml-generator-option";
665 const char kMHTMLSkipNostoreMain[] = "skip-nostore-main"; 669 const char kMHTMLSkipNostoreMain[] = "skip-nostore-main";
666 const char kMHTMLSkipNostoreAll[] = "skip-nostore-all"; 670 const char kMHTMLSkipNostoreAll[] = "skip-nostore-all";
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
1099 // the given directory. Used primarily to gather samples for IPC fuzzing. 1103 // the given directory. Used primarily to gather samples for IPC fuzzing.
1100 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1104 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1101 1105
1102 // Specifies the testcase used by the IPC fuzzer. 1106 // Specifies the testcase used by the IPC fuzzer.
1103 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1107 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1104 #endif 1108 #endif
1105 1109
1106 // Don't dump stuff here, follow the same order as the header. 1110 // Don't dump stuff here, follow the same order as the header.
1107 1111
1108 } // namespace switches 1112 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698