Rename CloseWebContents to RequestToClosePage

This commit is contained in:
Cheng Zhao 2015-06-25 13:27:51 +08:00
parent e41b0d4d2c
commit 62c44ee47b
4 changed files with 13 additions and 15 deletions

View file

@ -149,7 +149,7 @@ static const CGFloat kAtomWindowCornerRadius = 4.0;
// When user tries to close the window by clicking the close button, we do
// not close the window immediately, instead we try to close the web page
// fisrt, and when the web page is closed the window will also be closed.
shell_->CloseWebContents();
shell_->RequestToClosePage();
return NO;
}