summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/html_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/util/html_dialog.h')
-rw-r--r--chrome/installer/util/html_dialog.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/installer/util/html_dialog.h b/chrome/installer/util/html_dialog.h
index 325d978..80edbba 100644
--- a/chrome/installer/util/html_dialog.h
+++ b/chrome/installer/util/html_dialog.h
@@ -39,8 +39,13 @@ class HTMLDialog {
// The native window has been created and is about to be visible. Use it
// to customize the native |window| appearance.
virtual void OnBeforeDisplay(void* window) = 0;
+
+ protected:
+ virtual ~CustomizationCallback() {}
};
+ virtual ~HTMLDialog() {}
+
// Shows the HTML in a modal dialog. The buttons and other UI are also done
// in HTML so each native implementation needs to map the user action into
// one of the 6 possible results of DialogResult. Important, call this
@@ -51,7 +56,6 @@ class HTMLDialog {
// If the result of ShowModal() was EXTRA, the information is available
// as a string using this method.
virtual std::wstring GetExtraResult() = 0;
-
};
// Factory method for the native HTML Dialog. When done with the object use