Commit Graph

20 Commits

Author SHA1 Message Date
amaitland 466fa67525 Change origin from string to Uri as that's what the code is expecting - so github.com wasn't working, http://www.github.com does
Improved the documentation a little
2016-03-20 09:45:28 +10:00
amaitland 8e817b3feb IRequestContext.ResolveHost changed to ResolveHostAsync with a TaskCompletionSource wrapper 2016-03-20 09:30:42 +10:00
amaitland 174beb2371 Add IRequestContext.ResolveHost
Add IRequestContext.ResolveHostCached
Both methods are for DNS -> IPAddress resolution

https://bitbucket.org/chromiumembedded/cef/commits/ce1e9e65fd3f5a075cac924ed987165bb4641d9d?at=master
2016-03-20 09:14:23 +10:00
amaitland 7b29d7a665 RequestContext now implements CefWrapper
ThrowIfDisposed(); called in each method now
2016-03-20 08:42:58 +10:00
amaitland ee67324a24 Add IRequestContext.CloseAllConnections
Add IRequestContext.ClearCertificateExceptions
Also forgot to make IRequestContext extend IDisposable

https://bitbucket.org/chromiumembedded/cef/commits/cd7e8a055816f1bfc681c18a2e959ef3e414f265?at=master
2016-03-20 08:13:45 +10:00
amaitland f18fe9d4ae Add Cef.CurrentlyOnThread method for checking if your on a particular CEF thread
Add Cef.GetGlobalRequestContext, can be used to set preferences and other related features
Update IRequestContext.SetPreference documentation, preferences set via the command line are read only
2016-03-19 07:30:03 +10:00
amaitland bb4746c612 Minor code cleanup after static analysis from PVS Studio - mostly uninitialized variables (which I don't think was an actual problem as they were all in .Net classes)
Remove a static cast that wasn't required.
2016-02-19 16:24:14 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland dc121af997 Add IRequestContext interface to allow for extension methods
Can now access the RequestContext through IBrowserHost (can get access to the global context if required now)
2015-12-23 08:30:43 +10:00
amaitland abd10ede6d Implement GetAllPreferences 2015-12-23 07:48:26 +10:00
amaitland fb137f932f Implement basic Get/Set of Preferences
Haven't yet implemented the GetAllPreferences as yet.
2015-12-23 07:48:23 +10:00
amaitland ad9f7c70ac Add IPluginHandler.OnBeforePluginLoad
Can now be used through the RequestContext
Add Example to WPF application
2015-10-12 15:32:10 +10:00
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 ebaba426ba Fix compiler warning for missing xml comment from ChromiumWebBrowser OffScreen constructor
Add xml comment to RequestContext to better explain what it actually does
2015-07-31 14:19:57 +10:00
amaitland 42d51980ef Add nullptr check and return NULL for implicitor operator when object is not initialized 2015-07-22 14:19:50 +10:00
amaitland 50af1575cc Dispose of the RequestContextSettings when the RequestContext is disposed of 2015-07-22 14:11:44 +10:00
amaitland 4ce93ba555 Add RequestContextSettings wrapper 2015-07-22 14:09:20 +10:00
amaitland 265ab37620 Assign cachePath
TODO create a wrapper around CefRequestContextSettings
2015-07-21 23:57:24 +10:00
Tommaso Ercole a3e869b542 Add basic CefRequestContext wrapper 2015-07-21 23:51:49 +10:00