summaryrefslogtreecommitdiffstats
path: root/chrome/browser/js_modal_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/js_modal_dialog.h')
-rw-r--r--chrome/browser/js_modal_dialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/js_modal_dialog.h b/chrome/browser/js_modal_dialog.h
index b53954e..65ed1ae 100644
--- a/chrome/browser/js_modal_dialog.h
+++ b/chrome/browser/js_modal_dialog.h
@@ -71,9 +71,11 @@ class JavaScriptAppModalDialog : public AppModalDialog,
// Callbacks from NativeDialog when the user accepts or cancels the dialog.
void OnCancel();
void OnAccept(const std::wstring& prompt_text, bool suppress_js_messages);
+ void OnClose();
protected:
// AppModalDialog overrides.
+ virtual void Cleanup();
virtual NativeDialog CreateNativeDialog();
private: