Commit Graph

21 Commits

Author SHA1 Message Date
amaitland b9ee476e8e Fix up some of the vc++ include mess that we had going
Cleanup using namespace statements as well
2015-09-29 16:26:06 +10:00
amaitland 0a65fd65a5 Add RegisterSchemeHandlerFactory and ClearSchemeHandlerFactories
Add missing includes to SchemeHandlerFactoryWrapper
2015-08-26 21:39:12 +10:00
amaitland 4828919a27 Remove unused reference to autolock.h 2015-08-19 13:06:00 +10:00
Alex Maitland 85fc74df8a Merge pull request #1156 from amaitland/feature/CefStreamReader
Use CefStreamReader::CreateForFile for Reading files on Disk
2015-08-03 08:41:10 +10:00
amaitland cfa20ad9dd Remove outdated comment 2015-07-30 14:37:06 +10:00
amaitland e235e2469b Add missing include 2015-07-29 20:57:01 +10:00
amaitland abb06171b6 Add basic example of reading the Debug.log file from disk and add option to use ResourceHandler in a SchemeHandlerFactory
(Means that ISchemeHandler had to be removed - which is an unfortunate breaking change, better to be done now though)
2015-07-29 20:55:28 +10:00
amaitland 2129c1907e Remove IBrowserAdapter from Frame and Browser wrappers - now directly cast CefClient to ClientAdapter so can execute js 2015-06-29 14:03:10 +10:00
rassilon 1a62db2446 Allow the browser/frame instances to be active (i.e. non-disposed) until ResourceHandlerWrapper has completed processing for ResourceHandlers and Schemes. 2015-06-18 08:27:53 -04:00
amaitland c445a508ea Allow for ISchemeHandlerFactory.Create to return null (allow for default behaviour)
Updated ISchemeHandlerFactory xml doc

As both current use cases for ResourceHandlerWrapper can potentially return null rather than handle the resource change CefRequestWrapper to be disposed of automatically and use the CefRequest provided by ResourceHandlerWrapper::ProcessRequest
2015-06-15 20:00:32 +10:00
rassilon 431cb511c3 * Move unmanged objects into finalizer and call finalizer from Dispose.
* Remove DisposableResources from ManagedCefBrowserAdapter
* Improve disposing of CefRequestWrapper
* Have callbacks dispose themselves.
* Allow the Application exit handler shutdown CEF from the Winforms example application.
2015-06-13 10:42:33 -04:00
amaitland bbaa58faed Expand ISchemeHandlerFactory to pass in browser, frame, schemeName and request 2015-06-05 13:40:27 +10:00
amaitland af8e53a6a1 Remove redundant method prefix (cpp) 2015-05-27 17:45:55 +10:00
rassilon 61ce52a2a4 Merge remote-tracking branch 'origin/cef/2272' into cleanup/resourcehandler
Conflicts:
	CefSharp.Core/SchemeHandlerFactoryWrapper.cpp
	CefSharp.Core/SchemeHandlerFactoryWrapper.h
	CefSharp.Core/SchemeHandlerResponse.cpp

Merge merge merge, merges are fun.
2015-04-25 03:06:21 -04:00
rassilon 4275da30b7 The other two hiding tab files. Be gone! 2015-04-25 02:48:37 -04:00
rassilon 7128e40fd1 It's time for copyright updates again. Yay!
Throw in a couple of tab containing files for good measure.
Evil tabs, evil I say.
2015-04-25 02:45:21 -04:00
amaitland 2468e41ea1 Extract ISchemeHandler into IResourceHandler - haven't marked as [Obsolete] as it may make more sense naming wise to keep this interface
Maybe need to add a code comment explaining the reason for keeping both interfaces?
2015-04-17 13:07:07 +10:00
amaitland bbbd2393f6 Explicitly release ISchemeHandlerFactory in SchemeHandlerFactoryWrapper 2015-04-17 13:07:04 +10:00
amaitland 94fa0f0e48 Inline SchemeHandlerFactoryWrapper::Create (for such a small .cpp file it didn't make a lot of sense) 2015-04-17 13:07:03 +10:00
amaitland 9044359bb4 Explicitly specify class access modifiers 2015-04-17 13:06:24 +10:00
amaitland 00b25f5e3f Split SchemeHandlerFactoryWrapper out into it's own .h/.cpp files 2015-02-14 12:04:59 +10:00