Class used to create a set of preferences to pass to the WindowsWebView2WebBrowserComponent wrapper constructor to modify aspects of its behaviour and settings.
More...
#include <juce_WebBrowserComponent.h>
Class used to create a set of preferences to pass to the WindowsWebView2WebBrowserComponent wrapper constructor to modify aspects of its behaviour and settings.
You can chain together a series of calls to this class's methods to create a set of whatever preferences you want to specify.
◆ withDLLLocation()
Sets a custom location for the WebView2Loader.dll that is not a part of the standard system DLL search paths.
◆ withUserDataFolder()
Sets a non-default location for storing user data for the browser instance.
◆ withStatusBarDisabled()
If this is set, the status bar usually displayed in the lower-left of the webview will be disabled.
◆ withBuiltInErrorPageDisabled()
If this is set, a blank page will be displayed on error instead of the default built-in error page.
◆ withBackgroundColour()
Sets the background colour that WebView2 renders underneath all web content.
This colour must either be fully opaque or transparent. On Windows 7 this colour must be opaque.
References Colour::isOpaque(), Colour::isTransparent(), and jassert.
◆ getDLLLocation()
File WebView2Preferences::getDLLLocation |
( |
| ) |
const |
◆ getUserDataFolder()
File WebView2Preferences::getUserDataFolder |
( |
| ) |
const |
◆ getIsStatusBarDisabled()
bool WebView2Preferences::getIsStatusBarDisabled |
( |
| ) |
const |
|
noexcept |
◆ getIsBuiltInErrorPageDisabled()
bool WebView2Preferences::getIsBuiltInErrorPageDisabled |
( |
| ) |
const |
|
noexcept |
◆ getBackgroundColour()
Colour WebView2Preferences::getBackgroundColour |
( |
| ) |
const |
The documentation for this class was generated from the following file: