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

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

Issue 2108863004: MD Settings: move appeal into flow to unhide Advanced toggle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/settings_ui/settings_ui.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/settings_ui/settings_ui.js
diff --git a/chrome/browser/resources/settings/settings_ui/settings_ui.js b/chrome/browser/resources/settings/settings_ui/settings_ui.js
index 1275cf1740d3da50eae57e49394f9e9f97750f51..a503726438cd103b8d12ce034275deb1589a6cc7 100644
--- a/chrome/browser/resources/settings/settings_ui/settings_ui.js
+++ b/chrome/browser/resources/settings/settings_ui/settings_ui.js
@@ -25,12 +25,24 @@ Polymer({
observer: 'directionDelegateChanged_',
type: Object,
},
+
+ appealClosed_: {
+ type: Boolean,
+ value: function() {
+ return !!(sessionStorage.appealClosed_ || localStorage.appealClosed_);
+ },
+ },
},
listeners: {
'sideNav.iron-activate': 'onIronActivate_',
},
+ /** @private */
+ onCloseAppealTap_: function() {
+ sessionStorage.appealClosed_ = this.appealClosed_ = true;
+ },
+
/**
* @param {Event} event
* @private
« no previous file with comments | « chrome/browser/resources/settings/settings_ui/settings_ui.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698