Commit Graph

94 Commits

Author SHA1 Message Date
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 dc2ce6c998 Add OnBrowserDestroyed Action and invoke when Cef triggers OnBrowserDestroyed 2014-09-12 14:52:01 +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 460c5f5c08 Remove ManagedCefApp base class and move methods into CefAppWrapper 2014-09-12 00:37:36 +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 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 4e1a9ece35 Remove debugging code 2014-08-29 12:56:15 +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 5faa2a2e5a Import CefTaskScheduler from @JanEggers TaskPattern branch 2014-08-29 11:57:33 +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 0fd5d0ac03 Comment out debugging code 2014-08-28 22:48:53 +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
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 b60de42153 And again, similar. :) 2014-06-12 02:48:17 +03:00
Per Lundberg de4c95f6e0 Whitespace fix. 2014-06-02 12:21:25 +01:00
Per Lundberg 73f477295c Cleaned up usings a little. 2014-06-02 12:20:10 +01:00
Per Lundberg 7b94e8a4f9 Use FooProcess notation rather than Fooprocess, since it looks slightly better. 2014-06-02 12:15:29 +01:00
JanEggers f8fd0b9556 method calls finally work 2014-05-25 21:04:25 +02:00
JanEggers 731ebf67a9 reversed subprocess communication now Browser is host and renderer is client 2014-05-24 19:43:34 +02:00
JanEggers ef36077f16 added specialized subprocess types and moved render process specific code in that class 2014-05-24 15:34:23 +02:00
JanEggers 5bff9ea37e fixed another warning related to member overloading 2014-05-20 22:02:23 +02:00
JanEggers e72548680e fixed uninteded revert because of tree conflict during merge and fixed App class hierachie so we have only one app instance in the subprocess 2014-05-20 21:57:00 +02:00
JanEggers 0ef76dca05 wire calls from the renderprocess with the objects in the browserprocess 2014-05-10 20:01:35 +02:00
JanEggers ebb910221d wire wcf host with app 2014-05-10 19:12:31 +02:00
JanEggers 363734e0aa next step: metadata can be transported via wcf and is automatically converted to wrapper objects so we have fields to store native stuff 2014-05-10 17:26:57 +02:00
JanEggers d7f8c8961b wired method calls to reach the BrowserProcess 2014-05-08 22:21:06 +02:00
JanEggers a040cba420 implement callbackfunctions 2014-05-08 20:16:18 +02:00
Per Lundberg 81e28fcdd8 More changes to the Subprocess after all my "interesting" refactorings. It now compiles and runs - only tested on VS2012 though, will do a minor change to ensure it works w/ other VS versions in a minute. 2014-04-08 20:42:08 +01:00
Per Lundberg 7c65a05e5c ...and here as well. 2014-04-08 18:17:47 +01:00
Per Lundberg a9a016eecf SubprocessProxyFactory is a better name of this one, since that more accurately describes its purpose. 2014-04-08 18:49:58 +02:00
Per Lundberg b4891281d4 No need for a public constructor here; it just sends out the wrong signals. 2014-04-08 18:48:50 +02:00
Per Lundberg 1974dda75d Refactored so that the whole creation of the ServiceHost is taken care of by one single method. 2014-04-08 17:07:44 +02:00
Per Lundberg b744e88a26 Deleted some comments. 2014-04-08 17:07:22 +02:00
Per Lundberg 8b9fd28978 We don't need this debugging any more; in fact the type name being referred to doesn't even exist any longer! :) 2014-04-08 17:06:16 +02:00
Per Lundberg 12a932c713 Moved the KillExistingService to a more logical place in the class. 2014-04-08 17:04:48 +02:00
Per Lundberg 5b80069ba6 No need to throw exceptions here. 2014-04-05 00:10:48 +03:00
Per Lundberg 238d210ccd Let's continue with the housekeeping, shall we. Rearranged the properties so that they are at the beginning of the class, where they logically belong. 2014-04-05 00:09:50 +03:00
Per Lundberg bd29710111 Not a normal "singleton" pattern, so let's not pretend it is. 2014-04-05 00:07:19 +03:00