Create BrowserProcessResponse to represent the response from the WCF calls

This commit is contained in:
amaitland
2014-09-02 11:05:31 +10:00
parent 3e5a3ae0cb
commit f6d6b0fe4e
6 changed files with 48 additions and 19 deletions
@@ -48,17 +48,14 @@ namespace CefSharp
{
auto browserProxy = CefAppWrapper::Instance->CreateBrowserProxy();
Object^ result;
String^ exception;
auto success = browserProxy->GetProperty(_object->Id, memberName, result, exception);
return result;
auto response = browserProxy->GetProperty(_object->Id, memberName);
return response->Result;
};
void JavascriptObjectWrapper::SetProperty(String^ memberName, Object^ value)
{
auto browserProxy = CefAppWrapper::Instance->CreateBrowserProxy();
String^ exception;
browserProxy->SetProperty(_object->Id, memberName, value, exception);
auto response = browserProxy->SetProperty(_object->Id, memberName, value);
};
}