|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Options to configure WebBrowserComponent. More...
#include "juce_WebBrowserComponent.h"
Classes | |
| class | WinWebView2 |
| Options specific to the WebView2 backend. More... | |
Public Types | |
| enum class | Backend { defaultBackend , ie , webview2 } |
Public Member Functions | |
| Options | withBackend (Backend backend) const |
| Use a particular backend to create the WebViewBrowserComponent. | |
| Options | withKeepPageLoadedWhenBrowserIsHidden () const |
| Tell JUCE to keep the web page alive when the WebBrowserComponent is not visible. | |
| Options | withUserAgent (String ua) const |
| Use a specific user agent string when requesting web pages. | |
| Options | withWinWebView2Options (const WinWebView2 &winWebView2Options) const |
| Backend | getBackend () const noexcept |
| bool | keepsPageLoadedWhenBrowserIsHidden () const noexcept |
| String | getUserAgent () const |
| WinWebView2 | getWinWebView2BackendOptions () const |
Options to configure WebBrowserComponent.
Definition at line 52 of file juce_WebBrowserComponent.h.
Definition at line 56 of file juce_WebBrowserComponent.h.
|
noexcept |
Definition at line 165 of file juce_WebBrowserComponent.h.
| String juce::WebBrowserComponent::Options::getUserAgent | ( | ) | const |
Definition at line 167 of file juce_WebBrowserComponent.h.
| WinWebView2 juce::WebBrowserComponent::Options::getWinWebView2BackendOptions | ( | ) | const |
Definition at line 168 of file juce_WebBrowserComponent.h.
|
noexcept |
Definition at line 166 of file juce_WebBrowserComponent.h.
Use a particular backend to create the WebViewBrowserComponent.
JUCE will silently fallback to the default backend if the selected backend is not supported. To check if a specific backend is supported on your platform or not, use WebBrowserComponent::areOptionsSupported.
Definition at line 90 of file juce_WebBrowserComponent.h.
| Options juce::WebBrowserComponent::Options::withKeepPageLoadedWhenBrowserIsHidden | ( | ) | const |
Tell JUCE to keep the web page alive when the WebBrowserComponent is not visible.
By default, JUCE will replace the current page with a blank page - this can be handy to stop the browser using resources in the background when it's not actually being used.
Definition at line 99 of file juce_WebBrowserComponent.h.
Use a specific user agent string when requesting web pages.
Definition at line 104 of file juce_WebBrowserComponent.h.
| Options juce::WebBrowserComponent::Options::withWinWebView2Options | ( | const WinWebView2 & | winWebView2Options | ) | const |
Definition at line 159 of file juce_WebBrowserComponent.h.