Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2464)

Unified Diff: chrome/browser/resources/options/browser_options.js

Issue 593273002: Excludes settings which uses Ash from Athena. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 1bc711f8e33eaccc7c1fde4d77f5493a1b866c1f..dcba6fad3f3e7e9cf389b00f43f992ad2144d3d8 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -1523,6 +1523,15 @@ cr.define('options', function() {
},
/**
+ * Enables or disables the ChromeOS display settings button.
+ * @private
+ */
+ enableDisplayButton_: function(enabled) {
+ if (cr.isChromeOS)
+ $('display-options').disabled = !enabled;
+ },
+
+ /**
* Enables factory reset section.
* @private
*/
@@ -1946,6 +1955,7 @@ cr.define('options', function() {
'addBluetoothDevice',
'deleteCurrentProfile',
'enableCertificateButton',
+ 'enableDisplayButton',
'enableFactoryResetSection',
'getCurrentProfile',
'getStartStopSyncButton',
« no previous file with comments | « chrome/browser/resources/options/browser_options.html ('k') | chrome/browser/resources/options/chromeos/display_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698