mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- 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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user