Remove web_contents from NativeWindow's constructor
This commit is contained in:
parent
6fc819dae1
commit
97e8800677
7 changed files with 10 additions and 11 deletions
|
@ -12,17 +12,14 @@
|
|||
#include "atom/browser/window_list.h"
|
||||
#include "atom/common/color_util.h"
|
||||
#include "atom/common/options_switches.h"
|
||||
#include "brightray/browser/inspectable_web_contents.h"
|
||||
#include "native_mate/dictionary.h"
|
||||
|
||||
DEFINE_WEB_CONTENTS_USER_DATA_KEY(atom::NativeWindowRelay);
|
||||
|
||||
namespace atom {
|
||||
|
||||
NativeWindow::NativeWindow(
|
||||
brightray::InspectableWebContents* inspectable_web_contents,
|
||||
const mate::Dictionary& options,
|
||||
NativeWindow* parent)
|
||||
NativeWindow::NativeWindow(const mate::Dictionary& options,
|
||||
NativeWindow* parent)
|
||||
: has_frame_(true),
|
||||
transparent_(false),
|
||||
enable_larger_than_screen_(false),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue