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

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: tweaks 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
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..f97f8fb189f9f5b4e82f6dd919d9b1d2baa400ab 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_;
+ },
+ },
+ },
+
+ /** @private */
+ onCloseAppealTap_: function(e) {
+ sessionStorage.appealClosed_ = this.appealClosed_ = true;
+ },
});

Powered by Google App Engine
This is Rietveld 408576698