Commit Graph

7 Commits

Author SHA1 Message Date
amaitland ed716a5da1 CefTaskWrapper now implements CefTask and can be passed directly into CefPostTask 2015-04-28 11:41:43 +10: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
rassilon d8b707fb4b Propigate TaskWrapper exceptions:
Log an ERROR message via CEF logging, and throw an appropriate exception on thread pool thread.

The idea is that the AppDomain's UnhandledException or Application.ThreadException handler will get called.
2015-04-24 10:35:29 -04:00
amaitland c81d73c587 Split CefTaskWrapper out into it's own .h file 2015-04-24 12:02:15 +10:00
rassilon 701d391c59 Adding .Net enum of CefThreadId (mostly to be able to call .ToString()).
Added license headers on new files.
Remove sync version of GetZoomLevel on ManagedCefBrowserAdapter.
Updated callers to call GetZoomLevelAsync() but in a blocking sync manner.

Added CurrentlyOn/EnsureOn static methods to CefTaskScheduler.
2015-04-22 08:19:36 -04:00
rassilon c96f8a82d6 Add TaskFactories in the main process for UI/File/IO, and utilize the UI task factory for GetZoomLevel, and implement GetZoomLevelAsync. 2015-04-22 00:14:29 -04:00
amaitland 484a2de0a2 Move CefTaskScheduler from CefSharp.BrowserSubprocess.Core to CefSharp.Core
Add ITaskScheduler interface to simplify the code
2015-04-09 11:25:37 +10:00