Index: chrome/browser/resources/options2/settings_dialog.js |
=================================================================== |
--- chrome/browser/resources/options2/settings_dialog.js (revision 120816) |
+++ chrome/browser/resources/options2/settings_dialog.js (working copy) |
@@ -42,7 +42,6 @@ |
* @private |
*/ |
handleConfirm_: function() { |
- this.willConfirm(); |
OptionsPage.closeOverlay(); |
var els = this.pageDiv.querySelectorAll('[dialog-pref]'); |
@@ -57,7 +56,6 @@ |
* @private |
*/ |
handleCancel_: function() { |
- this.willCancel(); |
OptionsPage.closeOverlay(); |
var els = this.pageDiv.querySelectorAll('[dialog-pref]'); |
@@ -66,18 +64,6 @@ |
els[i].resetPrefState(); |
} |
}, |
- |
- /** |
- * Called when the user clicks the confirm button, just before the |
- * preferences are saved. This is a no-op, but subclasses can override it. |
- */ |
- willConfirm: function() {}, |
- |
- /** |
- * Called when the user cancels the dialog, just before the |
- * dialog is closed. This is a no-op, but subclasses can override it. |
- */ |
- willCancel: function() {}, |
}; |
return { |