summaryrefslogtreecommitdiffstats
path: root/ui/views/widget/widget_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/widget/widget_delegate.h')
-rw-r--r--ui/views/widget/widget_delegate.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/views/widget/widget_delegate.h b/ui/views/widget/widget_delegate.h
index ea48930..58a2c72 100644
--- a/ui/views/widget/widget_delegate.h
+++ b/ui/views/widget/widget_delegate.h
@@ -117,9 +117,6 @@ class VIEWS_EXPORT WidgetDelegate {
// Default is true.
virtual bool ShouldRestoreWindowSize() const;
- // Return false to indicate that the window can't be closed. Defaults to true.
- virtual bool CanClose();
-
// Called when the window closes. The delegate MUST NOT delete itself during
// this call, since it can be called afterwards. See DeleteDelegate().
virtual void WindowClosing() {}