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

Unified Diff: content/public/common/content_switches.cc

Issue 1862513003: Remove NPAPI from browser and utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/process_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 1b09d220ce3b7e7822a11d285dc1e78a6b27a666..64d4e3383498a8d2ab3602f7577347c34fb1006e 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -63,9 +63,6 @@ const char kBrowserSubprocessPath[] = "browser-subprocess-path";
const char kUseCrossProcessFramesForGuests[] =
"use-cross-process-frames-for-guests";
-// Dumps extra logging about plugin loading to the log file.
-const char kDebugPluginLoading[] = "debug-plugin-loading";
-
// Sets the tile size used by composited layers.
const char kDefaultTileWidth[] = "default-tile-width";
const char kDefaultTileHeight[] = "default-tile-height";
@@ -112,9 +109,6 @@ const char kDisableBlinkFeatures[] = "disable-blink-features";
// Disables HTML5 DB support.
const char kDisableDatabases[] = "disable-databases";
-// Handles URL requests by NPAPI plugins through the renderer.
-const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests";
-
// Disable the per-domain blocking for 3D APIs after GPU reset.
// This switch is intended only for tests.
const char kDisableDomainBlockingFor3DAPIs[] =
@@ -241,11 +235,6 @@ const char kDisablePermissionsAPI[] = "disable-permissions-api";
// Disables compositor-accelerated touch-screen pinch gestures.
const char kDisablePinch[] = "disable-pinch";
-// Disable discovering third-party plugins. Effectively loading only
-// ones shipped with the browser plus third-party ones as specified by
-// --extra-plugin-dir and --load-plugin switches.
-const char kDisablePluginsDiscovery[] = "disable-plugins-discovery";
-
// Disable the creation of compositing layers when it would prevent LCD text.
const char kDisablePreferCompositingToLCDText[] =
"disable-prefer-compositing-to-lcd-text";
@@ -509,9 +498,6 @@ const char kEnableZeroCopy[] = "enable-zero-copy";
// numbers.
const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports";
-// Load NPAPI plugins from the specified directory.
-const char kExtraPluginDir[] = "extra-plugin-dir";
-
// Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU
// accelerated compositing + impl-side painting. Overrides the
// kEnableGpuRasterization flag.
@@ -590,9 +576,6 @@ const char kIPCConnectionTimeout[] = "ipc-connection-timeout";
// Specifies the flags passed to JS engine
const char kJavaScriptFlags[] = "js-flags";
-// Load an NPAPI plugin from the specified path.
-const char kLoadPlugin[] = "load-plugin";
-
// Logs GPU control list decisions when enforcing blacklist rules.
const char kLogGpuControlListDecisions[] = "log-gpu-control-list-decisions";
@@ -603,9 +586,6 @@ const char kLoggingLevel[] = "log-level";
// Enables saving net log events to a file and sets the file name to use.
const char kLogNetLog[] = "log-net-log";
-// Make plugin processes log their sent and received messages to VLOG(1).
-const char kLogPluginMessages[] = "log-plugin-messages";
-
// Resizes of the main frame are caused by changing between landscape and
// portrait mode (i.e. Android) so the page should be rescaled to fit.
const char kMainFrameResizesAreOrientationChanges[] =
@@ -659,20 +639,6 @@ const char kOverridePluginPowerSaverForTesting[] =
const char kOverscrollHistoryNavigation[] =
"overscroll-history-navigation";
-// Specifies a command that should be used to launch the plugin process. Useful
-// for running the plugin process through purify or quantify. Ex:
-// --plugin-launcher="path\to\purify /Run=yes"
-const char kPluginLauncher[] = "plugin-launcher";
-
-// Tells the plugin process the path of the plugin to load
-const char kPluginPath[] = "plugin-path";
-
-// Causes the process to run as a plugin subprocess.
-const char kPluginProcess[] = "plugin";
-
-// Causes the plugin process to display a dialog on launch.
-const char kPluginStartupDialog[] = "plugin-startup-dialog";
-
// Argument to the process type that indicates a PPAPI broker process type.
const char kPpapiBrokerProcess[] = "ppapi-broker";
@@ -682,7 +648,9 @@ const char kPpapiFlashArgs[] = "ppapi-flash-args";
// Runs PPAPI (Pepper) plugins in-process.
const char kPpapiInProcess[] = "ppapi-in-process";
-// Like kPluginLauncher for PPAPI plugins.
+// Specifies a command that should be used to launch the ppapi plugin process.
+// Useful for running the plugin process through purify or quantify. Ex:
+// --ppapi-plugin-launcher="path\to\purify /Run=yes"
const char kPpapiPluginLauncher[] = "ppapi-plugin-launcher";
// Argument to the process type that indicates a PPAPI plugin process type.
@@ -989,13 +957,6 @@ const char kDisableVaapiAcceleratedVideoEncode[] =
const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher";
#endif
-#if defined(OS_MACOSX)
-// Disables support for Core Animation plugins. This is triggered when
-// accelerated compositing is disabled. See http://crbug.com/122430.
-const char kDisableCoreAnimationPlugins[] =
- "disable-core-animation-plugins";
-#endif
-
#if defined(OS_WIN)
// /prefetch:# arguments to use when launching various process types. It has
// been observed that when file reads are consistent for 3 process launches with
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/process_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698