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
This commit is contained in:
amaitland
2015-10-11 20:41:17 +10:00
parent dbc1671af5
commit 015855a653
11 changed files with 109 additions and 60 deletions
@@ -20,6 +20,7 @@ namespace CefSharp
auto result = gcnew JavascriptCallback();
result->Id = newId;
result->BrowserId = _browserId;
result->FrameId = context->GetFrame()->GetIdentifier();
return result;
}