mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
19 lines
599 B
Objective-C
19 lines
599 B
Objective-C
#import "include/cef.h"
|
|
#import <Cocoa/Cocoa.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);
|
|
};
|