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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * 'cr-settings' is the main MD-Settings element, combining the UI and models. 7 * 'cr-settings' is the main MD-Settings element, combining the UI and models.
8 * 8 *
9 * Example: 9 * Example:
10 * 10 *
11 * <cr-settings></cr-settings> 11 * <cr-settings></cr-settings>
12 */ 12 */
13 Polymer({ 13 Polymer({
14 is: 'cr-settings', 14 is: 'cr-settings',
15 15
16 ready: function() { 16 ready: function() {
17 this.$.ui.directionDelegate = new settings.DirectionDelegateImpl; 17 this.$.ui.directionDelegate = new settings.DirectionDelegateImpl;
18 }, 18 },
19
20 properties: {
21 appealClosed_: {
22 type: Boolean,
23 value: function() {
24 return !!sessionStorage.appealClosed_;
25 },
26 },
27 },
28
29 /** @private */
30 onCloseAppealTap_: function(e) {
31 sessionStorage.appealClosed_ = this.appealClosed_ = true;
32 },
19 }); 33 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698