mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Windows: Added WindowsWebView2WebBrowserComponent wrapper to add support for custom WebView2Loader.dll location and user data folder for WebView2
This commit is contained in:
parent
f5cb3f4ae1
commit
1f63357263
6 changed files with 139 additions and 23 deletions
|
|
@ -59,15 +59,15 @@
|
|||
|
||||
/** Config: JUCE_USE_WIN_WEBVIEW2
|
||||
Enables the use of the Microsoft Edge (Chromium) WebView2 browser on Windows,
|
||||
currently in developer preview. This requires Microsoft Edge (minimum version
|
||||
82.0.488.0) to be installed on the user's machine at runtime.
|
||||
currently in developer preview.
|
||||
|
||||
If using the Projucer, the Microsoft.Web.WebView2 package will be added to the
|
||||
project solution if this flag is enabled. If you are building using CMake you
|
||||
will need to manually add the package via the Visual Studio package manager.
|
||||
|
||||
If the required components are not available at runtime it will fall back to the
|
||||
IE-based Win32 web view.
|
||||
In addition to enabling this macro, you will need to use the
|
||||
WindowsWebView2WebBrowserComponent wrapper - see the documentation of that
|
||||
class for more details.
|
||||
*/
|
||||
#ifndef JUCE_USE_WIN_WEBVIEW2
|
||||
#define JUCE_USE_WIN_WEBVIEW2 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue