Options specific to the WkWebView backend used on Apple systems. More...
#include <juce_WebBrowserComponent.h>
Public Member Functions | |
AppleWkWebView | withAllowAccessToEnclosingDirectory (bool x) const |
Specifies whether the WebView is allowed to access siblings of files specified with the file:// URL scheme. | |
AppleWkWebView | withDisabledAcceptsFirstMouse () const |
If this options is specified, the underlying WebView will return NO from its acceptsFirstMouse method. | |
auto | getAllowAccessToEnclosingDirectory () const |
auto | getAcceptsFirstMouse () const |
Options specific to the WkWebView backend used on Apple systems.
These options will be ignored on non-Apple platforms.
|
nodiscard |
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 withMember(), and x.
|
nodiscard |
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 withMember().
auto WebBrowserComponent::Options::AppleWkWebView::getAllowAccessToEnclosingDirectory | ( | ) | const |
auto WebBrowserComponent::Options::AppleWkWebView::getAcceptsFirstMouse | ( | ) | const |