mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 19:54:53 +00:00
5b29591b22
- GetAuthCredentials won't be called otherwise, those wishing to use the Chrome password prompt can remove the command line arg at runtime. Resolves #4830
27 lines
844 B
C#
27 lines
844 B
C#
// Copyright © 2013 The CefSharp Authors. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
namespace CefSharp.WinForms
|
|
{
|
|
/// <summary>
|
|
/// Initialization settings. Many of these and other settings can also configured
|
|
/// using command-line switches.
|
|
/// </summary>
|
|
public class CefSettings : CefSettingsBase
|
|
{
|
|
/// <summary>
|
|
/// Intialize with default values
|
|
/// </summary>
|
|
public CefSettings() : base()
|
|
{
|
|
ChromeRuntime = true;
|
|
|
|
// CEF doesn't call GetAuthCredentials unless
|
|
// the Chrome login prompt is disabled
|
|
// https://github.com/chromiumembedded/cef/issues/3603
|
|
CefCommandLineArgs.Add("disable-chrome-login-prompt");
|
|
}
|
|
}
|
|
}
|