mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Replace JSBindingHandler with a new V8ContextHandler interface that contains callbacks for V8 context creation and release (issue #359).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@392 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -94,6 +94,14 @@ bool CefV8ContextCToCpp::Exit()
|
||||
return struct_->exit(struct_)?true:false;
|
||||
}
|
||||
|
||||
bool CefV8ContextCToCpp::IsSame(CefRefPtr<CefV8Context> that)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, is_same))
|
||||
return false;
|
||||
|
||||
return struct_->is_same(struct_, CefV8ContextCToCpp::Unwrap(that))?true:false;
|
||||
}
|
||||
|
||||
|
||||
#ifndef NDEBUG
|
||||
template<> long CefCToCpp<CefV8ContextCToCpp, CefV8Context,
|
||||
|
Reference in New Issue
Block a user