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

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

Issue 2075323002: MD Settings: add escape hatch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: boolify 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.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.js
diff --git a/chrome/browser/resources/settings/settings.js b/chrome/browser/resources/settings/settings.js
index 8de03239b7aa266e64b1afe5c2012c5f174666a6..d8dea5620fe58da734e6ad7635d2e48051ce5b4f 100644
--- a/chrome/browser/resources/settings/settings.js
+++ b/chrome/browser/resources/settings/settings.js
@@ -16,4 +16,18 @@ Polymer({
ready: function() {
this.$.ui.directionDelegate = new settings.DirectionDelegateImpl;
},
+
+ properties: {
+ appealClosed_: {
+ type: Boolean,
+ value: function() {
+ return !!(sessionStorage.appealClosed_ || localStorage.appealClosed_);
+ },
+ },
+ },
+
+ /** @private */
+ onCloseAppealTap_: function(e) {
+ sessionStorage.appealClosed_ = this.appealClosed_ = true;
+ },
});
« no previous file with comments | « chrome/browser/resources/settings/settings.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698