1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added asserts to clarify that WebBrowserComponent is not implemented on Linux and Android.

This commit is contained in:
Timur Doumler 2016-04-21 10:42:10 +01:00
parent 0d1f6211b1
commit 6ef3f1e738
2 changed files with 8 additions and 0 deletions

View file

@ -27,6 +27,10 @@ WebBrowserComponent::WebBrowserComponent (const bool unloadPageWhenBrowserIsHidd
blankPageShown (false),
unloadPageWhenBrowserIsHidden (unloadPageWhenBrowserIsHidden_)
{
// Unfortunately, WebBrowserComponent is not implemented for Android yet!
// This is just a stub implementation without any useful functionality.
jassertfalse;
setOpaque (true);
}

View file

@ -32,6 +32,10 @@ WebBrowserComponent::WebBrowserComponent (const bool unloadPageWhenBrowserIsHidd
blankPageShown (false),
unloadPageWhenBrowserIsHidden (unloadPageWhenBrowserIsHidden_)
{
// Unfortunately, WebBrowserComponent is not implemented for Linux yet!
// This is just a stub implementation without any useful functionality.
jassertfalse;
setOpaque (true);
}