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
|
@ -11,13 +11,11 @@
|
|||
#include <vector>
|
||||
|
||||
#include "atom/browser/native_window_observer.h"
|
||||
#include "atom/browser/ui/atom_menu_model.h"
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "base/observer_list.h"
|
||||
#include "base/supports_user_data.h"
|
||||
#include "content/public/browser/web_contents_user_data.h"
|
||||
#include "extensions/browser/app_window/size_constraints.h"
|
||||
#include "native_mate/persistent_dictionary.h"
|
||||
|
||||
class SkRegion;
|
||||
|
||||
|
@ -39,10 +37,12 @@ class Size;
|
|||
|
||||
namespace mate {
|
||||
class Dictionary;
|
||||
class PersistentDictionary;
|
||||
}
|
||||
|
||||
namespace atom {
|
||||
|
||||
class AtomMenuModel;
|
||||
class NativeBrowserView;
|
||||
|
||||
struct DraggableRegion;
|
||||
|
@ -272,8 +272,7 @@ class NativeWindow : public base::SupportsUserData {
|
|||
bool is_modal() const { return is_modal_; }
|
||||
|
||||
protected:
|
||||
NativeWindow(brightray::InspectableWebContents* inspectable_web_contents,
|
||||
const mate::Dictionary& options,
|
||||
NativeWindow(const mate::Dictionary& options,
|
||||
NativeWindow* parent);
|
||||
|
||||
void set_browser_view(NativeBrowserView* browser_view) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue