2012-09-21 02:46:14 +04:00
|
|
|
#include "include/cef_base.h"
|
|
|
|
#include "include/cef_v8.h"
|
2012-08-27 22:40:28 +04:00
|
|
|
|
2012-08-28 20:16:27 +04:00
|
|
|
|
|
|
|
namespace v8_extensions {
|
|
|
|
|
|
|
|
class Native : public CefV8Handler {
|
2012-08-27 22:40:28 +04:00
|
|
|
public:
|
2012-08-28 20:16:27 +04:00
|
|
|
Native();
|
|
|
|
|
2012-08-27 22:40:28 +04:00
|
|
|
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.
|
2012-08-28 20:16:27 +04:00
|
|
|
IMPLEMENT_REFCOUNTING(Native);
|
2012-08-27 22:40:28 +04:00
|
|
|
};
|
2012-08-28 20:16:27 +04:00
|
|
|
|
|
|
|
}
|