| Index: chrome/browser/resources/options/advanced_options.js
|
| diff --git a/chrome/browser/resources/options/advanced_options.js b/chrome/browser/resources/options/advanced_options.js
|
| index ddb8a20426fc7940934f1338aef74d7afe989216..a9a0080c9805b2892dfd90000a477f18eb70d8e7 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)]);
|
| @@ -165,18 +161,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) {
|
|
|