Remove added switch/option
This commit is contained in:
parent
583bb49f6c
commit
f58322891b
4 changed files with 1 additions and 8 deletions
|
@ -172,7 +172,7 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(
|
|||
if (window) {
|
||||
bool visible = window->IsVisible() && !window->IsMinimized();
|
||||
if (!visible) // Default state is visible.
|
||||
command_line->AppendSwitch(switches::kHiddenPage);
|
||||
command_line->AppendSwitch("hidden-page");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -82,5 +82,4 @@ WebViewManager* WebViewManager::GetWebViewManager(content::WebContents* web_cont
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
} // namespace atom
|
||||
|
|
|
@ -103,9 +103,6 @@ const char kExperimentalCanvasFeatures[] = "experimentalCanvasFeatures";
|
|||
// Opener window's ID.
|
||||
const char kOpenerID[] = "openerId";
|
||||
|
||||
// Page is hidden.
|
||||
const char kHiddenPage[] = "hiddenPage";
|
||||
|
||||
// Enable the rubber banding effect.
|
||||
const char kScrollBounce[] = "scrollBounce";
|
||||
|
||||
|
@ -149,7 +146,6 @@ const char kPreloadURL[] = "preload-url";
|
|||
const char kNodeIntegration[] = "node-integration";
|
||||
const char kGuestInstanceID[] = "guest-instance-id";
|
||||
const char kOpenerID[] = "opener-id";
|
||||
const char kHiddenPage[] = "hidden-page";
|
||||
const char kScrollBounce[] = "scroll-bounce";
|
||||
|
||||
// Widevine options
|
||||
|
|
|
@ -56,7 +56,6 @@ extern const char kGuestInstanceID[];
|
|||
extern const char kExperimentalFeatures[];
|
||||
extern const char kExperimentalCanvasFeatures[];
|
||||
extern const char kOpenerID[];
|
||||
extern const char kHiddenPage[];
|
||||
extern const char kScrollBounce[];
|
||||
extern const char kBlinkFeatures[];
|
||||
|
||||
|
@ -83,7 +82,6 @@ extern const char kPreloadURL[];
|
|||
extern const char kNodeIntegration[];
|
||||
extern const char kGuestInstanceID[];
|
||||
extern const char kOpenerID[];
|
||||
extern const char kHiddenPage[];
|
||||
extern const char kScrollBounce[];
|
||||
|
||||
extern const char kWidevineCdmPath[];
|
||||
|
|
Loading…
Reference in a new issue