pulsar/Atom/src/native_handler.h
2012-05-04 10:12:36 -07:00

20 lines
631 B
Objective-C

#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);
};