pulsar/native/v8_extensions/native.h

20 lines
631 B
C
Raw Normal View History

2012-08-27 22:40:28 +04:00
#import <Cocoa/Cocoa.h>
#import "include/cef_base.h"
#import "include/cef_v8.h"
class NativeHandler : public CefV8Handler {
public:
NativeHandler();
CefRefPtr<CefV8Value> m_object;
virtual bool Execute(const CefString& name,
CefRefPtr<CefV8Value> object,
const CefV8ValueList& arguments,
CefRefPtr<CefV8Value>& retval,
CefString& exception) OVERRIDE;
// Provide the reference counting implementation for this class.
IMPLEMENT_REFCOUNTING(NativeHandler);
};