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

@ -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;
}