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

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

Issue 2356053002: [HBD] Only use Plugin Content Settings for Flash. (Closed)
Patch Set: address xhwang comments Created 4 years, 2 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 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 665
666 // Enable or disable appcontainer/lowbox for renderer on Win8+ platforms. 666 // Enable or disable appcontainer/lowbox for renderer on Win8+ platforms.
667 const char kEnableAppContainer[] = "enable-appcontainer"; 667 const char kEnableAppContainer[] = "enable-appcontainer";
668 const char kDisableAppContainer[] = "disable-appcontainer"; 668 const char kDisableAppContainer[] = "disable-appcontainer";
669 669
670 // Number of worker threads used to rasterize content. 670 // Number of worker threads used to rasterize content.
671 const char kNumRasterThreads[] = "num-raster-threads"; 671 const char kNumRasterThreads[] = "num-raster-threads";
672 672
673 // Override the behavior of plugin throttling for testing. 673 // Override the behavior of plugin throttling for testing.
674 // By default the throttler is only enabled for a hard-coded list of plugins. 674 // By default the throttler is only enabled for a hard-coded list of plugins.
675 // Set the value to 'ignore-list' to ignore the hard-coded list.
676 // Set the value to 'always' to always throttle every plugin instance. 675 // Set the value to 'always' to always throttle every plugin instance.
677 const char kOverridePluginPowerSaverForTesting[] = 676 const char kOverridePluginPowerSaverForTesting[] =
678 "override-plugin-power-saver-for-testing"; 677 "override-plugin-power-saver-for-testing";
679 678
680 // Controls the behavior of history navigation in response to horizontal 679 // Controls the behavior of history navigation in response to horizontal
681 // overscroll. 680 // overscroll.
682 // Set the value to '0' to disable. 681 // Set the value to '0' to disable.
683 // Set the value to '1' to enable the behavior where pages slide in and out in 682 // Set the value to '1' to enable the behavior where pages slide in and out in
684 // response to the horizontal overscroll gesture and a screenshot of the target 683 // response to the horizontal overscroll gesture and a screenshot of the target
685 // page is shown. 684 // page is shown.
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
1074 // the given directory. Used primarily to gather samples for IPC fuzzing. 1073 // the given directory. Used primarily to gather samples for IPC fuzzing.
1075 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1074 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1076 1075
1077 // Specifies the testcase used by the IPC fuzzer. 1076 // Specifies the testcase used by the IPC fuzzer.
1078 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1077 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1079 #endif 1078 #endif
1080 1079
1081 // Don't dump stuff here, follow the same order as the header. 1080 // Don't dump stuff here, follow the same order as the header.
1082 1081
1083 } // namespace switches 1082 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/test/data/prerender/prerender_plugin_power_saver.html ('k') | content/public/test/ppapi_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698