summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources
diff options
context:
space:
mode:
authorkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-17 22:17:57 +0000
committerkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-17 22:17:57 +0000
commitcad43c97fd89b71da9e3f00d1aa0322a5ffad5b3 (patch)
treee797fef12dbe26832ebec06c5457577d6679ce39 /chrome/browser/resources
parente0984bed3c1498720ae72fe64c8c03153c9a5599 (diff)
downloadchromium_src-cad43c97fd89b71da9e3f00d1aa0322a5ffad5b3.zip
chromium_src-cad43c97fd89b71da9e3f00d1aa0322a5ffad5b3.tar.gz
chromium_src-cad43c97fd89b71da9e3f00d1aa0322a5ffad5b3.tar.bz2
DOMUI Settings: UTH: Remove the 'Reset to Defaults' button.
BUG=66115 TEST=none Review URL: http://codereview.chromium.org/6017002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69581 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r--chrome/browser/resources/options/advanced_options.html3
-rw-r--r--chrome/browser/resources/options/advanced_options.js7
2 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/resources/options/advanced_options.html b/chrome/browser/resources/options/advanced_options.html
index a1c8858..758e06c 100644
--- a/chrome/browser/resources/options/advanced_options.html
+++ b/chrome/browser/resources/options/advanced_options.html
@@ -187,7 +187,4 @@
</div>
</section>
</if>
- <div class="button-strip">
- <button id="optionsReset" i18n-content="optionsReset"></button>
- </div>
</div>
diff --git a/chrome/browser/resources/options/advanced_options.js b/chrome/browser/resources/options/advanced_options.js
index e298ef1..ce7c238 100644
--- a/chrome/browser/resources/options/advanced_options.js
+++ b/chrome/browser/resources/options/advanced_options.js
@@ -60,13 +60,6 @@ var OptionsPage = options.OptionsPage;
chrome.send('defaultZoomLevelAction',
[String(event.target.options[event.target.selectedIndex].value)]);
}
- $('optionsReset').onclick = function(event) {
- AlertOverlay.show(undefined,
- localStrings.getString('optionsResetMessage'),
- localStrings.getString('optionsResetOkLabel'),
- localStrings.getString('optionsResetCancelLabel'),
- function() { chrome.send('resetToDefaults'); });
- }
if (cr.isWindows || cr.isMac) {
$('certificatesManageButton').onclick = function(event) {