summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/app_modal_dialog.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/app_modal_dialog.h b/chrome/browser/app_modal_dialog.h
index 7aa0b10..3fa7384 100644
--- a/chrome/browser/app_modal_dialog.h
+++ b/chrome/browser/app_modal_dialog.h
@@ -49,7 +49,10 @@ class AppModalDialog : public NotificationObserver {
/////////////////////////////////////////////////////////////////////////////
// The following methods are platform specific and should be implemented in
// the platform specific .cc files.
- // Create the platform specific NativeDialog and display it.
+ // Create the platform specific NativeDialog and display it. When the
+ // NativeDialog is closed, it should call OnAccept or OnCancel to notify the
+ // renderer of the user's action. The NativeDialog is also expected to
+ // delete the AppModalDialog associated with it.
void CreateAndShowDialog();
// Close the dialog if it is showing.