Discard is_guest_, use type_ instead
This commit is contained in:
parent
2bfa9da82e
commit
19ca011735
5 changed files with 24 additions and 30 deletions
|
@ -107,9 +107,8 @@ void AppendToFile(const base::FilePath& path,
|
|||
|
||||
} // namespace
|
||||
|
||||
CommonWebContentsDelegate::CommonWebContentsDelegate(bool is_guest)
|
||||
: is_guest_(is_guest),
|
||||
owner_window_(nullptr),
|
||||
CommonWebContentsDelegate::CommonWebContentsDelegate()
|
||||
: owner_window_(nullptr),
|
||||
html_fullscreen_(false),
|
||||
native_fullscreen_(false) {
|
||||
}
|
||||
|
@ -180,11 +179,6 @@ bool CommonWebContentsDelegate::CanOverscrollContent() const {
|
|||
return false;
|
||||
}
|
||||
|
||||
bool CommonWebContentsDelegate::IsPopupOrPanel(
|
||||
const content::WebContents* source) const {
|
||||
return !is_guest_;
|
||||
}
|
||||
|
||||
content::JavaScriptDialogManager*
|
||||
CommonWebContentsDelegate::GetJavaScriptDialogManager(
|
||||
content::WebContents* source) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue