mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
22 lines
629 B
C++
22 lines
629 B
C++
#ifndef CEF_TESTS_CEFCLIENT_NATIVE_HANDLER_H_
|
|
#define CEF_TESTS_CEFCLIENT_NATIVE_HANDLER_H_
|
|
|
|
#include "include/cef_base.h"
|
|
#include "include/cef_v8.h"
|
|
|
|
class NativeHandler : public CefV8Handler {
|
|
public:
|
|
NativeHandler();
|
|
|
|
CefRefPtr<CefV8Value> object;
|
|
|
|
virtual bool Execute(const CefString& name,
|
|
CefRefPtr<CefV8Value> object,
|
|
const CefV8ValueList& arguments,
|
|
CefRefPtr<CefV8Value>& retval,
|
|
CefString& exception);
|
|
|
|
IMPLEMENT_REFCOUNTING(NativeHandler);
|
|
};
|
|
|
|
#endif |