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

Unified Diff: chrome/browser/resources/settings/people_page/people_page.js

Issue 2178303003: MD Settings: disable cursor: pointer when sync is disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « chrome/browser/resources/settings/people_page/people_page.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/people_page/people_page.js
diff --git a/chrome/browser/resources/settings/people_page/people_page.js b/chrome/browser/resources/settings/people_page/people_page.js
index 78452d1b7c6cd308a711b4bc0d1940261ff0cbfe..4a5ac48e2dc20c50bfc9810cfccf4b200bb6dd50 100644
--- a/chrome/browser/resources/settings/people_page/people_page.js
+++ b/chrome/browser/resources/settings/people_page/people_page.js
@@ -310,6 +310,15 @@ Polymer({
},
/**
+ * @param {?settings.SyncStatus} syncStatus
+ * @return {boolean}
+ * @private
+ */
+ isSyncEnabled_: function(syncStatus) {
+ return !(syncStatus && syncStatus.managed);
tommycli 2016/07/26 23:51:13 It seems that this should be: !syncStatus || sync
tommycli 2016/07/26 23:51:41 Err.. i guess actually: syncStatus && !syncStatus
+ },
+
+ /**
* @private
* @param {?settings.SyncStatus} syncStatus
* @return {string}
« no previous file with comments | « chrome/browser/resources/settings/people_page/people_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698