Don't store WebContents in NativeWindow
This commit is contained in:
parent
9000bd6679
commit
78468098c5
5 changed files with 4 additions and 15 deletions
|
@ -265,10 +265,6 @@ class NativeWindow : public base::SupportsUserData {
|
|||
observers_.RemoveObserver(obs);
|
||||
}
|
||||
|
||||
brightray::InspectableWebContents* inspectable_web_contents() const {
|
||||
return inspectable_web_contents_;
|
||||
}
|
||||
|
||||
bool has_frame() const { return has_frame_; }
|
||||
void set_has_frame(bool has_frame) { has_frame_ = has_frame; }
|
||||
|
||||
|
@ -329,9 +325,6 @@ class NativeWindow : public base::SupportsUserData {
|
|||
// The browser view layer.
|
||||
NativeBrowserView* browser_view_;
|
||||
|
||||
// The page this window is viewing.
|
||||
brightray::InspectableWebContents* inspectable_web_contents_;
|
||||
|
||||
// Observers of this window.
|
||||
base::ObserverList<NativeWindowObserver> observers_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue