Commit Graph

9 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 b9ee476e8e Fix up some of the vc++ include mess that we had going
Cleanup using namespace statements as well
2015-09-29 16:26:06 +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 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 7ec1d78205 Don't send message if browser->IsDisposed - shouldn't be throwing exceptions in destructor/finalizer blocks 2015-07-09 11:14:58 +10:00
amaitland 60f98cb55d Fix formatting 2015-07-09 11:06:42 +10:00
David Serfozo 5c9681e62e renamed javascriptcallbackimpl 2015-07-08 18:41:04 +02:00