Initialize node in browser process.
This commit is contained in:
parent
e49861b45b
commit
f853fc3df5
7 changed files with 90 additions and 3 deletions
|
@ -6,17 +6,24 @@
|
|||
#define ATOM_BROWSER_ATOM_BROWSER_MAIN_PARTS_
|
||||
|
||||
#include "brightray/browser/browser_main_parts.h"
|
||||
#include "common/node_bindings.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
class NodeBindings;
|
||||
|
||||
class AtomBrowserMainParts : public brightray::BrowserMainParts {
|
||||
public:
|
||||
AtomBrowserMainParts();
|
||||
virtual ~AtomBrowserMainParts();
|
||||
|
||||
protected:
|
||||
virtual void PostEarlyInitialization() OVERRIDE;
|
||||
virtual void PreMainMessageLoopRun() OVERRIDE;
|
||||
|
||||
private:
|
||||
scoped_ptr<NodeBindings> node_bindings_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(AtomBrowserMainParts);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue