| Index: chrome/browser/resources/options/browser_options.js
|
| diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
|
| index e6759d8e6bea5c6166cc944846ff7e0beaf8ce76..345a465d6fca843cb31b433727d5273a9c87050c 100644
|
| --- a/chrome/browser/resources/options/browser_options.js
|
| +++ b/chrome/browser/resources/options/browser_options.js
|
| @@ -438,14 +438,13 @@ cr.define('options', function() {
|
| $('downloadLocationChangeButton').onclick = function(event) {
|
| chrome.send('selectDownloadLocation');
|
| };
|
| - if (!cr.isChromeOS) {
|
| - $('autoOpenFileTypesResetToDefault').onclick = function(event) {
|
| - chrome.send('autoOpenFileTypesAction');
|
| - };
|
| - } else {
|
| + if (cr.isChromeOS) {
|
| $('disable-drive-row').hidden =
|
| UIAccountTweaks.loggedInAsLocallyManagedUser();
|
| }
|
| + $('autoOpenFileTypesResetToDefault').onclick = function(event) {
|
| + chrome.send('autoOpenFileTypesAction');
|
| + };
|
|
|
| // HTTPS/SSL section.
|
| if (cr.isWindows || cr.isMac) {
|
| @@ -1462,9 +1461,6 @@ cr.define('options', function() {
|
| * @private
|
| */
|
| setAutoOpenFileTypesDisplayed_: function(display) {
|
| - if (cr.isChromeOS)
|
| - return;
|
| -
|
| if ($('advanced-settings').hidden) {
|
| // If the Advanced section is hidden, don't animate the transition.
|
| $('auto-open-file-types-section').hidden = !display;
|
|
|