diff options
author | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-17 22:17:57 +0000 |
---|---|---|
committer | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-17 22:17:57 +0000 |
commit | cad43c97fd89b71da9e3f00d1aa0322a5ffad5b3 (patch) | |
tree | e797fef12dbe26832ebec06c5457577d6679ce39 /chrome/browser/resources | |
parent | e0984bed3c1498720ae72fe64c8c03153c9a5599 (diff) | |
download | chromium_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.html | 3 | ||||
-rw-r--r-- | chrome/browser/resources/options/advanced_options.js | 7 |
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) { |