Rename CloseWebContents to RequestToClosePage
This commit is contained in:
parent
e41b0d4d2c
commit
62c44ee47b
4 changed files with 13 additions and 15 deletions
|
@ -133,7 +133,7 @@ class NativeWindowClientView : public views::ClientView {
|
|||
virtual ~NativeWindowClientView() {}
|
||||
|
||||
bool CanClose() override {
|
||||
static_cast<NativeWindowViews*>(contents_view())->CloseWebContents();
|
||||
static_cast<NativeWindowViews*>(contents_view())->RequestToClosePage();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue