diff options
Diffstat (limited to 'chrome/browser/resources/options/advanced_options.js')
-rw-r--r-- | chrome/browser/resources/options/advanced_options.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/chrome/browser/resources/options/advanced_options.js b/chrome/browser/resources/options/advanced_options.js index b3c3e4f..5ff1ffba 100644 --- a/chrome/browser/resources/options/advanced_options.js +++ b/chrome/browser/resources/options/advanced_options.js @@ -56,10 +56,6 @@ var OptionsPage = options.OptionsPage; OptionsPage.showPageByName('fontSettings'); chrome.send('coreOptionsUserMetricsAction', ['Options_FontSettings']); }; - $('defaultZoomLevel').onchange = function(event) { - chrome.send('defaultZoomLevelAction', - [String(event.target.options[event.target.selectedIndex].value)]); - }; $('defaultFontSize').onchange = function(event) { chrome.send('defaultFontSizeAction', [String(event.target.options[event.target.selectedIndex].value)]); @@ -167,18 +163,6 @@ var OptionsPage = options.OptionsPage; } } - // Set the default zoom level selected item. - AdvancedOptions.SetDefaultZoomLevel = function(value) { - var selectCtl = $('defaultZoomLevel'); - for (var i = 0; i < selectCtl.options.length; i++) { - if (selectCtl.options[i].value == value) { - selectCtl.selectedIndex = i; - return; - } - } - selectCtl.selectedIndex = 4; // 100% - }; - // Set the font size selected item. AdvancedOptions.SetFontSize = function(fixed_font_size_value, font_size_value) { |