34 Commits

Author SHA1 Message Date
amaitland 3bc9ca1898 Move Enums into their own folder (again not changing the namespace as to avoid breaking the public API, at least for now)
Add copyright disclaimer to JavascriptResponse
Remove Kernel32.OutputDebugString calls and replace with Debug.WriteLine
Removed ScriptException and ResponseAction - unused classes
Rename CefCursorType to CursorType - wasn't exposed as part of the public API so can rename
2017-03-21 10:05:38 +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 c8934a3964 Rename RenderSubProcess to WcfEnabledSubProcess - a much more descriptive name 2016-05-16 20:22:08 +10:00
amaitland 533911a507 Remove the cef prefix from class names - going for a more consistent naming overall - should these classes be used by someone else, better to rename now 2016-05-16 19:56:15 +10:00
amaitland 7bbcf162f9 Remove CefSubProcess.cpp - having such trivial cpp files seems silly
Convert CefRenderProcess into a cpp class - this should theoretically allow users to add CefSharp.BrowserSubprocess.Core as a reference then use their own process to spawn it
Move CefRenderProcess and CefSubProcess into CefSharp.BrowserSubprocess namespace - otherclasses should really be moved as well

Only use our custom subProcess when type is render, for gpu and plugin processes the standard implementation is just fine

Remove CefSubProcess
Rename CefAppWrapper to CefSubProcess
2016-05-16 19:46:30 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland 36b0b95d55 Remove dpiAware tag from app.manifest for both WinForms example and BrowserSubProcess
Use new CefEnableHighDPISupport method for on all processes
2016-01-06 11:50:18 +10:00
amaitland d33c41ec5d Remove unused include
No need to wrap bool in gcroot
Move command line parsing into c# land - can be reused in a few places.
Reduce code duplication in OnProcessMessageReceived - kOnFocusedNodeChanged handler
Minor changes for code consistency/formatting
2015-12-09 11:23:06 +10:00
amaitland e492c0d21e Fixes #1263
Pass in CefCustomScheme as command line argument, as they're registered correctly in all processes
2015-09-15 15:15:26 +10:00
amaitland 54b8076043 Remove CefGpuProcess - wasn't used for anything
Simplify the class structure for the render/gpu subprocesses
2015-09-15 13:08:17 +10:00
amaitland 898668aab2 Move wcfEnabled check from CefRenderProcess out into main program - launch the generic CefSubProcess instance if WCF is disabled 2015-06-25 10:45:28 +10:00
amaitland 34d5167ec3 Remove old render process code that showed a message box for purpose of attaching the debugger - was commented out
Preferred method is to use the --renderer-startup-dialog command line flag
https://github.com/cefsharp/CefSharp/blob/master/CefSharp.Example/CefExample.cs#L35
2015-06-20 22:24:46 +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 a7c2b8bac8 Revert to previous debugging method as change wasn't working correctly. 2014-09-15 22:08:45 +10:00
amaitland a5dc5ebea2 Another debugging option for render process, can be passed in from user code, so could be handy for 3rd party debugging 2014-09-15 21:44:03 +10:00
amaitland 8da833891c Only display MessageBox for CefRenderProcess (little crude, though stops having two message boxes appear when predominantly interested in the RenderProcess, not the GPU process) 2014-09-11 23:43:26 +10:00
amaitland 4e1a9ece35 Remove debugging code 2014-08-29 12:56:15 +10:00
amaitland 5faa2a2e5a Import CefTaskScheduler from @JanEggers TaskPattern branch 2014-08-29 11:57:33 +10:00
amaitland 0fd5d0ac03 Comment out debugging code 2014-08-28 22:48:53 +10:00
amaitland a559fa169a Move Create method to where it's actually used and remove an unused instance variable 2014-08-27 14:24:11 +10:00
amaitland f55060a947 Get property get method calling - still problems that need to be resolved 2014-07-16 15:58:15 +10:00
amaitland e8f3a5e8cf Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-07-01 14:08:16 +10:00
amaitland d48bf5fbd9 Add license disclaimer to rest of solution files (hopefully got them all now) 2014-06-25 16:00:28 +10:00
Per Lundberg 7b94e8a4f9 Use FooProcess notation rather than Fooprocess, since it looks slightly better. 2014-06-02 12:15:29 +01:00
JanEggers ef36077f16 added specialized subprocess types and moved render process specific code in that class 2014-05-24 15:34:23 +02:00
Per Lundberg ee69eda415 Jan - I think it actually is better after all to keep everything related to the Subprocess in its own repo (i.e. the subprocess repo). That way, we can separate the concerns more elegantly (IMHO). 2014-04-04 21:04:37 +02:00
Per Lundberg d5a34290c7 Killed of some of the Base suffixes. We're quite close now. 2014-03-21 23:17:14 +02:00
Per Lundberg 7569b2c494 Gha, more unused usings! Away with them! 2014-03-21 23:08:59 +02:00
JanEggers 52bfa60c23 remaining stuff that i desired to put in on changeset 2014-03-09 14:11:37 +01:00
Per Lundberg 07c3c0c3e3 Lots of work towards #159. 2013-11-06 22:52:18 +01:00
Per Lundberg d6284f4d88 Moved the OutputDebugString P/Invoke signature to a separate “Kernel32” class. 2013-11-06 22:20:12 +01:00
Per Lundberg 2e0a73e0d6 More heavily-WIP-style work towards #159. I wonder if we'll ever gonna get that one solved actually... Well, of course we are, but how well with it work? Anyway, time to go to bed now and so forth. 2013-10-31 00:06:36 +02:00
Per Lundberg 64d375d556 Taking a slightly different turn here; wrapping the C API (which I had as an idea to avoid having to do a bunch of needless wrappers) seemed too awkward because of the refcounting et al... We have to go with the C++ route after all, but we will still keep the subprocess in C# since it's clearly nicer. 2013-10-30 22:28:14 +02:00
Per Lundberg 394287cf08 WIP on #159, trying to drastically refactor the subprocess (in C#, which is debuggable and hence a HUGE plus in what we are trying to achieve...). Will also consider using the C API for CEF, since I think it actually will suit us better. 2013-10-29 22:29:52 +02:00