3 Commits

Author SHA1 Message Date
Alex Maitland d8f86c6a2b FileResourceHandler - Throw exception if file not found
CEF expects files to exist
2017-12-22 14:33:35 +10:00
amaitland ab4e513693 Improve ByteArrayResourceHandler and FileResourceHandler comments
They should probably be renamed before the next version is branched, give a better indication
they're classes that represent unmanaged CEF implementations
2017-05-11 13:02:13 +10:00
amaitland 6691d0080a Refactor ResourceHandler, split FileResourceHandler out into it's own class, rather than relaying on ResourceHandlerType - this allows us to add more underlying CEF type wrappers without a huge amount of effort now.
Add new ByteArrayResourceHandler - uses CefStreamReader::CreateForData to load the byte array, for use with CefStreamResourceHandler
Add ResourceHandler.FromByteArray method for ease of use
Change ResourceHandler.FromString to use the new ByteArrayResourceHandler class
2017-05-05 12:55:44 +10:00