Commit Graph

10 Commits

Author SHA1 Message Date
amaitland fdceb5c202 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-27 16:09:41 +10:00
amaitland 015855a653 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)

Conflicts:
	CefSharp.Core/Internals/JavascriptCallbackProxy.cpp
	CefSharp.Core/Internals/JavascriptCallbackProxy.h
2015-10-17 12:29:41 +10:00
amaitland 1148f022fc Keep a WeakReference to IBrowserAdapter instead of IBrowser and lookup the browser by it's Id for callbacks 2015-10-17 12:24:41 +10:00
amaitland a450fd79bb Add TODO about callbacks being executed in the context of a popup 2015-10-17 12:24:41 +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