- Add support for entering a V8 context asynchronously (issue #203).

- Add support for V8 accessors (issue #203).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@215 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-04-07 01:58:49 +00:00
parent 36f3f3d021
commit 7ec29b5d87
19 changed files with 772 additions and 17 deletions

View File

@@ -73,6 +73,22 @@ CefRefPtr<CefV8Value> CefV8ContextCToCpp::GetGlobal()
return NULL;
}
bool CefV8ContextCToCpp::Enter()
{
if(CEF_MEMBER_MISSING(struct_, enter))
return false;
return struct_->enter(struct_)?true:false;
}
bool CefV8ContextCToCpp::Exit()
{
if(CEF_MEMBER_MISSING(struct_, exit))
return false;
return struct_->exit(struct_)?true:false;
}
#ifdef _DEBUG
template<> long CefCToCpp<CefV8ContextCToCpp, CefV8Context,