Remove web_contents from NativeWindow's constructor

This commit is contained in:
Cheng Zhao 2018-04-10 15:23:16 +09:00
parent 6fc819dae1
commit 97e8800677
7 changed files with 10 additions and 11 deletions

View file

@ -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),