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

Unified Diff: views/window/dialog_delegate.h

Issue 7920023: Fix crashes related to the extension uninstall dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make Show() pure virtual Created 9 years, 3 months 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 | « chrome/browser/ui/webui/options/extension_settings_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/window/dialog_delegate.h
diff --git a/views/window/dialog_delegate.h b/views/window/dialog_delegate.h
index 629d2908e090d4579c44efb75330a93e810490f3..23b835a86a7a38854b0700d1295a8c763dad4f63 100644
--- a/views/window/dialog_delegate.h
+++ b/views/window/dialog_delegate.h
@@ -87,11 +87,10 @@ class VIEWS_EXPORT DialogDelegate : public WidgetDelegate {
// For Dialog boxes, this is called when the user presses the "OK" button,
// or the Enter key. Can also be called on Esc key or close button
// presses if there is no "Cancel" button. This function should return
- // true if the window can be closed after the window can be closed after
- // it returns, or false if it must remain open. If |window_closing| is
- // true, it means that this handler is being called because the window is
- // being closed (e.g. by Window::Close) and there is no Cancel handler,
- // so Accept is being called instead.
+ // true if the window can be closed after it returns, or false if it must
+ // remain open. If |window_closing| is true, it means that this handler is
+ // being called because the window is being closed (e.g. by Window::Close)
+ // and there is no Cancel handler, so Accept is being called instead.
virtual bool Accept(bool window_closing);
virtual bool Accept();
« no previous file with comments | « chrome/browser/ui/webui/options/extension_settings_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698