diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-17 16:36:09 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-17 16:36:09 +0000 |
commit | 2e116bc834bd71cf306a62d6175ae2baa15851d5 (patch) | |
tree | f3c4c0dbfcc8be02f4c6347b50659d08f35360bf /chrome/browser/app_modal_dialog.h | |
parent | f4a2435ea81199ac48dbaf07c8514aa38b7cb106 (diff) | |
download | chromium_src-2e116bc834bd71cf306a62d6175ae2baa15851d5.zip chromium_src-2e116bc834bd71cf306a62d6175ae2baa15851d5.tar.gz chromium_src-2e116bc834bd71cf306a62d6175ae2baa15851d5.tar.bz2 |
Add a comment explaining the ownership model between AppModalDialog
and the NativeDialog.
Review URL: http://codereview.chromium.org/77034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13942 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/app_modal_dialog.h')
-rw-r--r-- | chrome/browser/app_modal_dialog.h | 5 |
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. |