Skip to content

Commit

Permalink
Rename {,Non}ClientView::CanClose() to OnWindowCloseRequested()
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Jul 23, 2020
1 parent dec1c0d commit 692c662
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shell/browser/native_window_views.cc
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ class NativeWindowClientView : public views::ClientView {
: views::ClientView(widget, root_view), window_(window) {}
~NativeWindowClientView() override = default;

views::CloseRequestResult OnWindowCloseRequested();
override {
views::CloseRequestResult OnWindowCloseRequested() override {
window_->NotifyWindowCloseButtonClicked();
return views::CloseRequestResult::kCannotClose;
}
Expand Down

0 comments on commit 692c662

Please sign in to comment.