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

Unified Diff: chrome/browser/resources/settings/device_page/display.js

Issue 2921973002: Hide Night Light behind a flag (Closed)
Patch Set: James' comments Created 3 years, 7 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/settings/device_page/display.js
diff --git a/chrome/browser/resources/settings/device_page/display.js b/chrome/browser/resources/settings/device_page/display.js
index 53ef67ec06144c3ecf3bce4fd4d8a4b9d0c5a44f..d7c2bd722367aa130626d261722a9e6aa0cdd433 100644
--- a/chrome/browser/resources/settings/device_page/display.js
+++ b/chrome/browser/resources/settings/device_page/display.js
@@ -80,6 +80,14 @@ Polymer({
}
},
+ /** @private */
+ nightLightFeatureEnabled_: {
+ type: Boolean,
+ value: function() {
+ return loadTimeData.getBoolean('nightLightFeatureEnabled');
+ }
+ },
+
/** @private */
unifiedDesktopMode_: {
type: Boolean,

Powered by Google App Engine
This is Rietveld 408576698