38 Commits

Author SHA1 Message Date
amaitland e8cf336bf3 Net Core - Support for compiling with .Net Core 3.1
- Make Wpf/WinForms/OffScreen projects target AnyCPU
Only the VC++ projects are platform specific now.
- Remove BrowserSubProcess project reference
Not needed as we now have a standalone exe
- Add OffScreen example
- Add WPF Example project
- Fix some compile errors for main solution
- Add BrowserSubProcess executable
- JavascriptObjectRepository remove isAsync param
Rather than throw exception remove the option
- BrowserSubprocess Exclude the WCF specific code from the netCore project
- Add some ifdef/ifndef to exclude the WCF specific implementation
- Move WCF implementation into separate namespace
2020-07-23 15:23:45 +10:00
amaitland 71a190dfe6 OffScreen Example - Demo Cef.WaitForBrowsersToClose();
Issue #3047
2020-05-04 11:34:52 +10:00
amaitland e1401e7092 Core - Ensure CachePath/RootCachePath/LocalesDirPath/BrowserSubprocessPath are absolute
CEF now requires this to be absolute, we enforce this by throwing exception if non-absolute

Resolves  #3102
2020-05-03 16:59:57 +10:00
campersau 7bed061bbf OffScreen Example - Update Javascript to reflect google change (#3059) 2020-02-19 06:53:27 +10:00
amaitland 1b0e89e75c OffScreen Example - CachePath values must be children of RootCachePath 2019-09-11 12:18:45 +10:00
campersau b31069633e add spaces in exception messages (#2620) 2019-01-11 08:57:28 +10:00
Chris 30ee538ce0 Added EditorConfig (#2514) 2018-09-17 00:46:21 +02:00
Chris bef5dd37c4 Maintenance - Fixed formatting, file encoding, and copyright year (#2504)
* Applied formatting

* Fixed file encoding + Updated copyright year

* Updated License

* Fixed more file encoding

* Copyright notice now shows the year the file was created
2018-09-10 10:41:13 +10:00
amaitland d87e795000 WinForms/Wpf/OffScreen - Create specific CefSettings class for each version
- This is a breaking change as there is no common `CefSharp.CefSettings`, there is no `CefSharp.Wpf.CefSettings`, `CefSharp.WinForms.CefSettings` and `CefSharp.OffScreen.CefSettings`
 - Cef.Initialize has been removed, the `ChromiumWebBrowser` constructor will call the `Cef.Initialize` with the defaults for your flavour
 - CefSettings.FocusedNodeChangedEnabled has been moved to CefSharpSettings.FocusedNodeChangedEnabled

Resolves #2477
2018-08-02 10:47:12 +10:00
amaitland 7d7b6d8d48 Example Projects - Upgrade to .Net 4.6
Remove the usage of TrySetResultAsync and replace with TaskCreationOptions.RunContinuationsAsynchronously
2018-05-13 13:07:14 +10:00
amaitland 8e5ae7b5da Add sendkeyevent example to CefSharp.OffScreen.Example/Program.cs 2018-01-18 10:25:53 +10:00
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +10:00
amaitland b72b6f7310 Example projects - Remove workaround for crash reporting spawning man app exe and switch to using crash_reporter.cfg 2017-01-16 11:38:38 +10:00
amaitland 8970196740 Upgrade example to deal with crashpad process being spawned through the main application exe #1876 2016-12-12 18:46:11 +10:00
amaitland 1008347f66 Offscreen Example - Add comment about TrySetResultAsync 2016-10-20 08:35:15 +10:00
amaitland 9fbde82ef0 Experimental implementation of IBrowserProcessHandler.OnScheduleMessagePumpWork
NOT READY FOR PRODUCTION USE
2016-09-01 16:51:20 +10:00
amaitland 60ae3cc739 Switch to using TrySetResult instead of SetResult
Invoke TrySetResult using TaskFactory.Run so continuations are run in an async fashion

Reference #1672
2016-04-27 21:01:58 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland abd10ede6d Implement GetAllPreferences 2015-12-23 07:48:26 +10:00
amaitland fe11f2eada Add Cef.DoMessageLoopWork example to WinForms.Example project 2015-10-21 19:56:45 +10:00
amaitland 9d64907cdc Update OffScreen example to always invalida the view before capturing the second image (getting the latest image in the process, not the last stored one) 2015-09-16 08:41:42 +10:00
amaitland 78a5fc6393 OffScreen Example set WindowlessFrameRate = 1 so that it's easier to take a screen shot as there is only one frame generated
Inject some javascript into the Google.com homepage
2015-09-10 15:36:40 +10:00
amaitland 7df00f8851 Demo PDF viewer working in WPF (Added extra command line switch to disable surfaces)
Remove NPAPI reference
2015-09-04 08:00:04 +10:00
amaitland 45e5da8d7b Remove obsolete methods 2015-09-01 22:49:17 +10:00
amaitland be501ece1d Add basic comment to OffScreen example
Comment out second call to MainAsync
2015-07-22 14:25:10 +10:00
amaitland 4ce93ba555 Add RequestContextSettings wrapper 2015-07-22 14:09:20 +10:00
amaitland 0c031a1a3b Split RequestContext out from BrowserSettings 2015-07-22 13:51:16 +10:00
amaitland dd4896d6e6 Rename cookies to cache path as new API enables access to more settings 2015-07-21 23:54:17 +10:00
Tommaso Ercole a3e869b542 Add basic CefRequestContext wrapper 2015-07-21 23:51:49 +10:00
amaitland 294b429c48 Remove unnecessary + from event handler assignment 2015-05-20 18:03:08 +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
amaitland 8e275ec472 Update Offline example to demo loading of two different pages - makes it easy to see the bitmap is being updated as per the previous perf improvement 2015-04-24 16:00:31 +10:00
rassilon a04d3c6eb8 Rename IResourceHandler to IResourceHandlerFactory. 2015-03-02 23:08:04 -05:00
Bill Tutt df03e82501 #785: Add a using to OffScreen.Example, now that Offscreen browser is a proper IDisposable. 2015-02-03 20:01:00 -05:00
amaitland 99eceb77d3 Slight code simplification in OffScreen.Example 2014-12-30 11:04:00 +10:00
amaitland 2684725c11 Expand OffScreen Example to include an example of capturing the first offscreen image (currently the first image is blank, though I'm thinking that's probably expected)
This allows for testing of the updated ScreenshotAsync method
2014-12-30 10:44:31 +10:00
amaitland 7058a9bc29 Update OffScreen browser to support 2171 2014-11-18 13:53:55 +10:00
amaitland 4ba99d274c Finish renaming 2014-11-18 13:16:51 +10:00