Commit Graph

52 Commits

Author SHA1 Message Date
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland 4dbc90333d CefAppWrapper no longer inherits from DisposableResource
No need for CefRenderProcess to keep a list of browsers any more, one less  thing to cleanup
2015-10-15 21:00:27 +10:00
amaitland 80c629e58b Fix small build error - had to do a full rebuild before compiler showed a problem 2015-09-24 18:51:07 +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 bf96cafab1 Remove unused project references
Remove CallbackBehavior attribute - not used that WCF feature anymore
2015-09-15 13:11:19 +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 3861ebec3d Remove some unused WCF pieces now that native IPC is used to register js binding objects 2015-08-07 13:24:50 +10:00
amaitland fc58a7db32 Cleanup some compiler warnings by making classes private
Remove unused using statements
2015-08-07 13:21:09 +10:00
David Serfozo 5a76864ad0 uneeded method removed from IBrowserProcess 2015-08-06 10:28:06 +02:00
David Serfozo d6661df344 removed unnecessary code from previous js callback implementation 2015-07-07 19:30:50 +02:00
David Serfozo 93a61c1442 removed unneeded eval script related methods 2015-06-27 19:01:52 +02: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 766da920ac Add license disclaimer to new CefSharpArguments class (also some browsersubprocess classes) 2015-06-25 10:37:56 +10:00
David Serfozo b1c7a2b791 CefWcfRenderProcess removed;;examples updated;;added exceptions 2015-06-24 21:38:51 +02:00
David Serfozo 4d62f6ad8e wcf made switchable 2015-06-20 19:50:48 +02:00
David Serfozo 4468961b5e reverted formatting issues, removed entry from DotSettings and fixed copyright notice 2015-03-09 20:19:01 +01:00
David Serfozo 98ba30bf5d added wcf operations to do javascript callbacks 2015-03-08 13:22:56 +01:00
amaitland 9f7729c037 IRenderProcess - IncludeExceptionDetailInFaults=true 2015-01-17 00:05:42 +10:00
amaitland 372f070d8f For popups don't Connect to the Browser process (Attempt to fix issue #614) 2014-12-09 18:35:12 +10:00
amaitland 06e2a1a86d Slightly modified fix for #622 based on https://github.com/cefsharp/CefSharp/pull/626 2014-11-21 11:23:33 +10:00
Sylvain Hamel 678f45835c CefRenderProcess process creates too many channels (and does not close them) 2014-11-11 09:06:52 -05:00
amaitland 0f4fb532af Cleanup after Browser Destroyed 2014-10-30 11:21:32 +10:00
Sylvain Hamel 29e5e61160 Fix: js bindings must be kept by browser, not by process 2014-10-29 08:10:40 -04:00
Bjarte Skogøy 17b56e694a brackets and removing commented code 2014-09-25 13:49:39 +02:00
Bjarte Skogøy 717c0eedbf Use Begin/End pattern to not break .Net 4 compatibility. 2014-09-24 14:13:09 +02:00
amaitland 6f2e316cee Improve EvaluateScriptAsync error handling 2014-09-17 13:53:03 +10:00
amaitland 00b6fc683b Pass a delegate to Create the WCF proxy through the layers of JS binding objects 2014-09-16 13:21:04 +10:00
amaitland e74f48a46b When Browser is popup then use the parent browser Id to connect to the WCF endpoint 2014-09-16 12:23:15 +10:00
amaitland 1c41c051c4 Keep track of all open browsers in Render process for JS execution and later disposal 2014-09-16 12:16:31 +10:00
amaitland be73858233 Include BrowserId in EvaluateScriptAsync WCF call - needed for when there are multiple browser instances created in the one render process 2014-09-16 11:53:07 +10:00
amaitland 0c4ef2099c Move TaskFactory into CefAppWrapper(RenderProcess) so it can be reused rather than recreating for every browser object 2014-09-16 11:42:18 +10:00
amaitland 286b590960 Rename EvaluateScript to EvaluateScriptAsync for consistency 2014-09-15 12:15:48 +10:00
amaitland 6505f43b15 EvaluateScript now accepts a nullable timespan and only executes a timeout if a value is specified 2014-09-15 12:11:31 +10:00
amaitland fdb8af9a45 Keep reference to parentBrowserId so can connect to WCF channel, the subsiquent browsers created for the popups still need to reference the Parent Browser Id 2014-09-15 11:38:14 +10:00
amaitland 74ee6637c2 Add some error handling for opening the WCF Proxy 2014-09-15 00:07:00 +10:00
amaitland 903a56ad80 Close ChannelFactory when Browser destroyed 2014-09-12 14:52:54 +10:00
amaitland a17b49596e Add Connect() method to IBrowserProcess so it's clearly understood when a new render process is created
Update OperationContext every time Connect() is called
2014-09-12 14:47:08 +10:00
amaitland c5f1034109 Remove CefBrowserBase and Merge code into CefBrowserWrapper - More code simplification 2014-09-12 12:05:20 +10:00
amaitland 9b4c877a50 Remove unused property getter 2014-09-11 23:39:07 +10:00
amaitland 2c159ee1b6 Changed frameId to long as frame->GetIdentifier() returns long 2014-09-02 21:28:43 +10:00
amaitland 2c4d179c5d Change ExecuteScriptAsync to return JavascriptResponse so error messages and result can be returned 2014-09-02 12:02:32 +10:00
amaitland b714cf759e Change timeout to timespan 2014-08-29 12:37:33 +10:00
amaitland ca4cd6b9a5 Finish importing #289, script is now executed as a task using CefTaskScheduler 2014-08-29 12:32:52 +10:00
amaitland e9fdeceb63 Change IRenderProcess to return Task<object> - moving towards having proper WCF async 2014-08-29 11:15:54 +10:00
amaitland ab21e24211 Create static method for init of NetNamedPipeBinding so can set MaxReceivedMessageSize (to 16MB) 2014-08-29 09:37:13 +10:00
amaitland ce46eb12a6 Split code onto multiple lines for debugging purposes 2014-08-27 14:54:04 +10:00
amaitland 308c9dcff3 Remove commented out code 2014-08-27 14:29:04 +10:00
amaitland 68cf269af0 Move serviceName to variable - makes for easier debugging 2014-08-27 14:25:18 +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
Per Lundberg b60de42153 And again, similar. :) 2014-06-12 02:48:17 +03:00