Commit Graph

11 Commits

Author SHA1 Message Date
amaitland 94b77750e6 Fix #1357
In GetBrowserWrapper check if _cefBrowser has a valid pointer
Add ManagedCefBrowserAdapter IsDisposed check in JavascriptCallbackProxy::GetBrowser
Add CanExecute to check if underlying resources are still available
2015-10-26 12:04:54 +10:00
amaitland 2f3d9f868f Make js callbacks and async methods Frame aware - add FrameId so they can be executed on a specific frame
Resolves a problem where multiple contexts are created and only the first one is dealt with properly (each frame has it's own V8 context)
2015-10-11 20:41:17 +10:00
amaitland cb989648cb Keep a WeakReference to IBrowserAdapter instead of IBrowser and lookup the browser by it's Id for callbacks 2015-09-24 21:00:53 +10:00
amaitland 8bba47d383 Add TODO about callbacks being executed in the context of a popup 2015-09-24 20:24:16 +10:00
amaitland 24a423bfc7 Fixed VS2015 build errors - had to prefix array<> with cli namespace as compiler was reporting ambiguous reference (VS2013 was fine with the code)
Basic VS2015 build should now be working
2015-09-01 22:09:47 +10:00
amaitland 330e6b38b0 Add IsDisposed property to interface objects
Fixes #1223
2015-08-31 13:32:48 +10:00
amaitland c201454905 Merge branch 'cefipcjscallbacks' of https://github.com/arsher/CefSharp into feature/replacewcf2 2015-07-10 10:12:53 +10:00
David Serfozo e0d5dcd283 added error handling when browser id has no match in render process 2015-07-09 23:36:31 +02:00
amaitland d766cc826e The Message should be sent on the corresponding browser, not just the first browser - handle popups
Remove browserId from the message as it shouldn't be required now
2015-07-09 12:01:44 +10:00
amaitland 7053eebae3 Reduce nesting for if statement 2015-07-09 11:06:36 +10:00
David Serfozo 5c9681e62e renamed javascriptcallbackimpl 2015-07-08 18:41:04 +02:00