Decouple api::Window initialization from api::WebContents construction.
This commit is contained in:
parent
1d228446db
commit
1b1541fe1a
2 changed files with 12 additions and 0 deletions
|
@ -89,6 +89,10 @@ class Window : public mate::TrackableObject<Window>,
|
|||
#endif
|
||||
|
||||
private:
|
||||
void Init(v8::Isolate* isolate,
|
||||
v8::Local<v8::Object> wrapper,
|
||||
const mate::Dictionary& options,
|
||||
mate::Handle<class WebContents> web_contents);
|
||||
// APIs for NativeWindow.
|
||||
void Close();
|
||||
void Focus();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue