Skip to content

Commit 4dd87a0

Browse files
committed
CefSettings has been moved
CefSharp.CefSettings is now CefSharp.WinForms.CefSettings/CefSharp.Wpf.CefSettings/CefSharp.OffScreen.CefSettings See cefsharp/CefSharp#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)
1 parent a7b2473 commit 4dd87a0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CefSharp.MinimalExample.WinForms/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
44

5+
using CefSharp.WinForms;
56
using System;
67
using System.IO;
78
using System.Windows.Forms;

CefSharp.MinimalExample.Wpf/App.xaml.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using System;
1+
using CefSharp.Wpf;
2+
using System;
23
using System.IO;
34
using System.Windows;
45

@@ -13,8 +14,6 @@ public App()
1314
//By default CefSharp will use an in-memory cache, you need to specify a Cache Folder to persist data
1415
CachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\\Cache")
1516
};
16-
17-
settings.DisableTouchpadAndWheelScrollLatching();
1817

1918
//Example of setting a command line argument
2019
//Enables WebRTC

0 commit comments

Comments
 (0)