chore: remove unused switches::kDisableHtmlFullscreenWindowResize (#19041)

This commit is contained in:
Milan Burda 2019-07-01 04:58:39 +02:00 committed by Cheng Zhao
parent cc223d7cd2
commit 3859244a79
3 changed files with 0 additions and 8 deletions

View file

@ -415,9 +415,6 @@ void WebContentsPreferences::AppendCommandLineSwitches(
if (IsEnabled(options::kNodeIntegrationInSubFrames))
command_line->AppendSwitch(switches::kNodeIntegrationInSubFrames);
if (IsEnabled(options::kDisableHtmlFullscreenWindowResize))
command_line->AppendSwitch(switches::kDisableHtmlFullscreenWindowResize);
// We are appending args to a webContents so let's save the current state
// of our preferences object so that during the lifetime of the WebContents
// we can fetch the options used to initally configure the WebContents

View file

@ -242,10 +242,6 @@ const char kNodeIntegrationInWorker[] = "node-integration-in-worker";
// environments will be created in sub-frames.
const char kNodeIntegrationInSubFrames[] = "node-integration-in-subframes";
// Disable window resizing when HTML Fullscreen API is activated.
const char kDisableHtmlFullscreenWindowResize[] =
"disable-html-fullscreen-window-resize";
// Widevine options
// Path to Widevine CDM binaries.
const char kWidevineCdmPath[] = "widevine-cdm-path";

View file

@ -117,7 +117,6 @@ extern const char kNativeWindowOpen[];
extern const char kNodeIntegrationInWorker[];
extern const char kWebviewTag[];
extern const char kNodeIntegrationInSubFrames[];
extern const char kDisableHtmlFullscreenWindowResize[];
extern const char kDisableElectronSiteInstanceOverrides[];
extern const char kWidevineCdmPath[];