Make BrowserWindow inheritable. Fixed #23.
This commit is contained in:
parent
eaa03facee
commit
5a0aab2e4f
5 changed files with 87 additions and 28 deletions
|
@ -105,6 +105,8 @@ class Window : public EventEmitter,
|
|||
static v8::Handle<v8::Value> Reload(const v8::Arguments &args);
|
||||
static v8::Handle<v8::Value> ReloadIgnoringCache(const v8::Arguments &args);
|
||||
|
||||
static v8::Persistent<v8::FunctionTemplate> constructor_template_;
|
||||
|
||||
scoped_ptr<NativeWindow> window_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(Window);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue