refactor: do not pass WebContents to NativeWindow
This commit is contained in:
parent
640877ebf8
commit
2b24b26e59
8 changed files with 36 additions and 41 deletions
|
@ -109,6 +109,8 @@ class BrowserWindow : public TopLevelWindow,
|
|||
v8::Global<v8::Value> web_contents_;
|
||||
api::WebContents* api_web_contents_;
|
||||
|
||||
v8::Global<v8::Value> web_contents_view_;
|
||||
|
||||
base::WeakPtrFactory<BrowserWindow> weak_factory_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(BrowserWindow);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue