mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Windows: Add WebView2Preferences struct to modify aspects of WebView2 behaviour
This commit is contained in:
parent
315f6d8fcd
commit
4649bc1b13
6 changed files with 154 additions and 56 deletions
|
|
@ -192,4 +192,11 @@
|
|||
#if ! JUCE_WINDOWS
|
||||
juce::ScopedDPIAwarenessDisabler::ScopedDPIAwarenessDisabler() { ignoreUnused (previousContext); }
|
||||
juce::ScopedDPIAwarenessDisabler::~ScopedDPIAwarenessDisabler() {}
|
||||
|
||||
#if JUCE_WEB_BROWSER
|
||||
juce::WebBrowserComponent::WebBrowserComponent (ConstructWithoutPimpl) {}
|
||||
juce::WindowsWebView2WebBrowserComponent::WindowsWebView2WebBrowserComponent (bool unloadWhenHidden,
|
||||
const WebView2Preferences&)
|
||||
: juce::WebBrowserComponent (unloadWhenHidden) {}
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue