mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
We send a message from the render process to the browser process indicating which path to open. Also start introducing a `v8_extensions::` namespace to contain the extensions.
20 lines
555 B
Objective-C
20 lines
555 B
Objective-C
#import <Cocoa/Cocoa.h>
|
|
#import "include/cef_base.h"
|
|
#import "include/cef_v8.h"
|
|
|
|
namespace v8_extensions {
|
|
class Atom : public CefV8Handler {
|
|
public:
|
|
Atom();
|
|
|
|
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(Atom);
|
|
};
|
|
}
|