Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(664)

Unified Diff: ui/views/widget/widget_delegate.h

Issue 8790001: Revert 112770 - Prevent a crash in the first run search engine selector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/widget/widget.cc ('k') | ui/views/widget/widget_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget_delegate.h
===================================================================
--- ui/views/widget/widget_delegate.h (revision 112803)
+++ ui/views/widget/widget_delegate.h (working copy)
@@ -117,9 +117,6 @@
// 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() {}
« no previous file with comments | « ui/views/widget/widget.cc ('k') | ui/views/widget/widget_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698