Skip to content

Commit

Permalink
CefSettings has been moved
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
amaitland committed Aug 12, 2018
1 parent a7b2473 commit 4dd87a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CefSharp.MinimalExample.WinForms/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// 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.IO;
using System.Windows.Forms;
Expand Down
5 changes: 2 additions & 3 deletions CefSharp.MinimalExample.Wpf/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using CefSharp.Wpf;
using System;
using System.IO;
using System.Windows;

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

settings.DisableTouchpadAndWheelScrollLatching();

//Example of setting a command line argument
//Enables WebRTC
Expand Down

0 comments on commit 4dd87a0

Please sign in to comment.