Commit Graph

6179 Commits

Author SHA1 Message Date
amaitland 14971f613a Add release x64 for BrowserSubProcess.Core 2014-09-16 21:12:13 +10:00
amaitland c23ed1e9ab Update .gitignore to include release directories - at some point need to cleanup the output folders as it's all over the place 2014-09-16 21:10:50 +10:00
amaitland 3ce1952af4 Add environment check to determine architecture 2014-09-16 21:02:43 +10:00
amaitland 3e925993fc Add 64bit support for CefSharp.BrowserSubprocess.Core 2014-09-16 21:02:20 +10:00
amaitland d8b9afebf2 Add DevToolsUrl to IWebBrowser 2014-09-16 20:48:14 +10:00
amaitland 92c41d27e5 Update execute script example to be more complex 2014-09-16 17:41:39 +10:00
amaitland 15fa75fe1d Add another testing method to SubBoundObject 2014-09-16 17:41:22 +10:00
amaitland 3276c352a2 Consistent variable naming 2014-09-16 16:35:41 +10:00
amaitland d90cf0af3f Continue to implement object cleanup 2014-09-16 16:34:07 +10:00
amaitland c8ba05c688 Remove unused instance variable 2014-09-16 13:21:53 +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 8cc8e8388b Add some commented out handy command line options for later use 2014-09-15 22:29:00 +10:00
amaitland a7c2b8bac8 Revert to previous debugging method as change wasn't working correctly. 2014-09-15 22:08:45 +10:00
Alex Maitland 182bcb9bd3 Update README.WPF.md
Rename WebView to ChromiumWebBrowser and make a few minor adjustments to show a minimal CefSharp3 implementation.
2014-09-15 21:59:56 +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 047cac5fbf Store reference to JavascriptRootObject and create a new JavascriptRootObjectWrapper every time - in future can dispose of the root wrapper 2014-09-15 16:38:35 +10:00
amaitland c0a6bac36b Remove unused include 2014-09-15 14:36:14 +10:00
amaitland a2096292b7 Add EvaluateScriptAsync timeout validation 2014-09-15 12:28:33 +10:00
amaitland 286b590960 Rename EvaluateScript to EvaluateScriptAsync for consistency 2014-09-15 12:15:48 +10:00
amaitland 003a857412 Simplify if statement 2014-09-15 12:12:34 +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 9db69fa555 Move browser wrapper Dictionary into CefAppUnmanagedWrapper 2014-09-15 12:05:01 +10:00
amaitland e937c33d2d Change from List to Dictionary to simplify code (key on the browser id) 2014-09-15 12:02:58 +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 d84d7689f8 Revert previous change when code to manage cleanup of multiple CefBrowserWrapper classes was removed - it appears multiple can be created when using popups (and potentially other circumstances) 2014-09-15 00:21:22 +10:00
amaitland 74ee6637c2 Add some error handling for opening the WCF Proxy 2014-09-15 00:07:00 +10:00
amaitland 78ddea334a Only perform recursive Analysis if property is a Complex Type 2014-09-14 22:52:31 +10:00
amaitland a424d6775b Rename Value property to JsObject - more meaningful name 2014-09-14 22:50:31 +10:00
amaitland c923286431 Improve cleanup of CefAppUnmanagedWrapper 2014-09-12 16:38:46 +10:00
amaitland ee45819cc5 Remove redundant nullptr check and just call delete 2014-09-12 16:35:56 +10:00
amaitland cd8b1d8100 Add OnContextReleased and reorder methods to group together 2014-09-12 16:27:47 +10:00
amaitland 5e6fb330f4 Fix whitespace 2014-09-12 15:32:22 +10:00
amaitland c706915b22 Fix compiler warnings, no need to override now there is no longer a base class
Calling DoDispose on it's self would have caused recursion
2014-09-12 15:02:43 +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 058e21fce5 No need to keep list of CefBrowserWrapper's as new RenderProcess is created every time, hence only one browser wrapper 2014-09-12 13:03:25 +10:00
amaitland ee565757a4 Reorder methods - logical grouping (cef methods kept together) 2014-09-12 12:48:10 +10:00
amaitland 605f237998 Remove CefRenderProcessHandler, not relevant for CefClient (in Cef3) 2014-09-12 12:36:11 +10:00
amaitland bd88d4feaa Fix variable naming - was method, should be property 2014-09-12 12:28:40 +10:00
amaitland c5f1034109 Remove CefBrowserBase and Merge code into CefBrowserWrapper - More code simplification 2014-09-12 12:05:20 +10:00
amaitland d8851689d8 Remove CefBrowserUnmanagedWrapper and merge code into CefBrowserWrapper - code simplification 2014-09-12 11:12:25 +10:00
amaitland 8acec46f64 Rename CefSubprocessWrapper.h to CefBrowserWrapper.h 2014-09-12 00:45:29 +10:00
amaitland 460c5f5c08 Remove ManagedCefApp base class and move methods into CefAppWrapper 2014-09-12 00:37:36 +10:00
amaitland 71c2b5748a Remove managed point to CefBrowser - is stored, then later set to nullptr, not used for anything 2014-09-12 00:05:31 +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