Remove added switch/option

This commit is contained in:
Kevin Sawicki 2016-05-25 10:17:35 -07:00
parent 583bb49f6c
commit f58322891b
4 changed files with 1 additions and 8 deletions

View file

@ -172,7 +172,7 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(
if (window) { if (window) {
bool visible = window->IsVisible() && !window->IsMinimized(); bool visible = window->IsVisible() && !window->IsMinimized();
if (!visible) // Default state is visible. if (!visible) // Default state is visible.
command_line->AppendSwitch(switches::kHiddenPage); command_line->AppendSwitch("hidden-page");
} }
} }

View file

@ -82,5 +82,4 @@ WebViewManager* WebViewManager::GetWebViewManager(content::WebContents* web_cont
} }
} }
} // namespace atom } // namespace atom

View file

@ -103,9 +103,6 @@ const char kExperimentalCanvasFeatures[] = "experimentalCanvasFeatures";
// Opener window's ID. // Opener window's ID.
const char kOpenerID[] = "openerId"; const char kOpenerID[] = "openerId";
// Page is hidden.
const char kHiddenPage[] = "hiddenPage";
// Enable the rubber banding effect. // Enable the rubber banding effect.
const char kScrollBounce[] = "scrollBounce"; const char kScrollBounce[] = "scrollBounce";
@ -149,7 +146,6 @@ const char kPreloadURL[] = "preload-url";
const char kNodeIntegration[] = "node-integration"; const char kNodeIntegration[] = "node-integration";
const char kGuestInstanceID[] = "guest-instance-id"; const char kGuestInstanceID[] = "guest-instance-id";
const char kOpenerID[] = "opener-id"; const char kOpenerID[] = "opener-id";
const char kHiddenPage[] = "hidden-page";
const char kScrollBounce[] = "scroll-bounce"; const char kScrollBounce[] = "scroll-bounce";
// Widevine options // Widevine options

View file

@ -56,7 +56,6 @@ extern const char kGuestInstanceID[];
extern const char kExperimentalFeatures[]; extern const char kExperimentalFeatures[];
extern const char kExperimentalCanvasFeatures[]; extern const char kExperimentalCanvasFeatures[];
extern const char kOpenerID[]; extern const char kOpenerID[];
extern const char kHiddenPage[];
extern const char kScrollBounce[]; extern const char kScrollBounce[];
extern const char kBlinkFeatures[]; extern const char kBlinkFeatures[];
@ -83,7 +82,6 @@ extern const char kPreloadURL[];
extern const char kNodeIntegration[]; extern const char kNodeIntegration[];
extern const char kGuestInstanceID[]; extern const char kGuestInstanceID[];
extern const char kOpenerID[]; extern const char kOpenerID[];
extern const char kHiddenPage[];
extern const char kScrollBounce[]; extern const char kScrollBounce[];
extern const char kWidevineCdmPath[]; extern const char kWidevineCdmPath[];