Options specific to the WkWebView backend used on Apple systems.
More...
#include <juce_WebBrowserComponent.h>
Options specific to the WkWebView backend used on Apple systems.
These options will be ignored on non-Apple platforms.
◆ getAcceptsFirstMouse()
| auto juce::WebBrowserComponent::Options::AppleWkWebView::getAcceptsFirstMouse |
( |
| ) |
const |
|
inline |
◆ getAllowAccessToEnclosingDirectory()
| auto juce::WebBrowserComponent::Options::AppleWkWebView::getAllowAccessToEnclosingDirectory |
( |
| ) |
const |
|
inline |
◆ withAllowAccessToEnclosingDirectory()
| AppleWkWebView juce::WebBrowserComponent::Options::AppleWkWebView::withAllowAccessToEnclosingDirectory |
( |
bool |
x | ) |
const |
|
inline |
Specifies whether the WebView is allowed to access siblings of files specified with the file:// URL scheme.
Allowing this is a potential security vulnerability if you don't have full control over the file that you are opening.
References juce::withMember().
◆ withDisabledAcceptsFirstMouse()
| AppleWkWebView juce::WebBrowserComponent::Options::AppleWkWebView::withDisabledAcceptsFirstMouse |
( |
| ) |
const |
|
inline |
If this options is specified, the underlying WebView will return NO from its acceptsFirstMouse method.
This disables the click-through behaviour, meaning that clicking a previously unfocused application window only makes the window focused, but will not pass on the click to whichever control inside the WebView is under the mouse.
References juce::withMember().
◆ acceptsFirstMouse
| bool juce::WebBrowserComponent::Options::AppleWkWebView::acceptsFirstMouse = true |
|
private |
◆ allowAccessToEnclosingDirectory
| bool juce::WebBrowserComponent::Options::AppleWkWebView::allowAccessToEnclosingDirectory = false |
|
private |
The documentation for this class was generated from the following file: