CefSettings has been moved
CefSharp.CefSettings is now CefSharp.WinForms.CefSettings/CefSharp.Wpf.CefSettings/CefSharp.OffScreen.CefSettings See https://github.com/cefsharp/CefSharp/issues/2477 for more details There is one set of settings for each flavour, all the essential command line workarounds are enabled (there are plenty of non-essential ones that have no yet been enabled by default)
This commit is contained in:
parent
a7b2473c8b
commit
4dd87a0fc6
@ -2,6 +2,7 @@
|
|||||||
//
|
//
|
||||||
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
using CefSharp.WinForms;
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
using System;
|
using CefSharp.Wpf;
|
||||||
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
|
||||||
@ -14,8 +15,6 @@ namespace CefSharp.MinimalExample.Wpf
|
|||||||
CachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\\Cache")
|
CachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\\Cache")
|
||||||
};
|
};
|
||||||
|
|
||||||
settings.DisableTouchpadAndWheelScrollLatching();
|
|
||||||
|
|
||||||
//Example of setting a command line argument
|
//Example of setting a command line argument
|
||||||
//Enables WebRTC
|
//Enables WebRTC
|
||||||
settings.CefCommandLineArgs.Add("enable-media-stream", "1");
|
settings.CefCommandLineArgs.Add("enable-media-stream", "1");
|
||||||
|
Loading…
Reference in New Issue
Block a user