Commit e14f32db authored by Zeno Albisser's avatar Zeno Albisser
Browse files

Add support for file and data url scheme.


Local file and data url support can simply be added
by registering the appropriate ProtocolHandlers.

Displaying the contents of a directory is slightly
more complex. This requires access to some html
resource files that can be used to list the contents
in rows. For Chromium such resource files are usually
contained in a .pak file which is shipped with the binary.

Since deploying additional files is very complicated for Qt,
we want to use the Qt Resource System to bundle .pak files.

Therefore this patch adds handling of rcc content generated
from a .qrc file to our gyp_generator.prf.
Further it replaces the regular ResourceBundle implementation
with a Qt specific one.
And it also implements a DataPackQt class that allows
using DataPack instances with data from a QByteArray and
therefore from the Qt Resource System.

Change-Id: Ic41e34fbd9aec8596cbc85666a762ecdaa604edc
Reviewed-by: default avatarAndras Becsi <andras.becsi@digia.com>
parent 9407e220
Showing with 211 additions and 1 deletion
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment