Files
cefsharp/CefSharp.OffScreen/CefSettings.cs
T
amaitland 4ab07c8a32 OffScreen - CefSettings remove command line args
OSR mouse scroll issue has been resolved.
2018-09-16 13:12:42 +10:00

26 lines
833 B
C#

// Copyright © 2018 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.OffScreen
{
/// <summary>
/// Initialization settings. Many of these and other settings can also configured
/// using command-line switches.
/// </summary>
public class CefSettings : AbstractCefSettings
{
/// <summary>
/// Intialize with default values
/// </summary>
public CefSettings() : base()
{
WindowlessRenderingEnabled = true;
//For OffScreen it doesn't make much sense to enable audio by default, so we disable it.
//this can be removed in user code if required
CefCommandLineArgs.Add("mute-audio", "1");
}
}
}