Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 * 'settings-ui' implements the UI for the Settings page. | 7 * 'settings-ui' implements the UI for the Settings page. |
| 8 * | 8 * |
| 9 * Example: | 9 * Example: |
| 10 * | 10 * |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 25 observer: 'directionDelegateChanged_', | 25 observer: 'directionDelegateChanged_', |
| 26 type: Object, | 26 type: Object, |
| 27 }, | 27 }, |
| 28 | 28 |
| 29 appealClosed_: { | 29 appealClosed_: { |
| 30 type: Boolean, | 30 type: Boolean, |
| 31 value: function() { | 31 value: function() { |
| 32 return !!(sessionStorage.appealClosed_ || localStorage.appealClosed_); | 32 return !!(sessionStorage.appealClosed_ || localStorage.appealClosed_); |
| 33 }, | 33 }, |
| 34 }, | 34 }, |
| 35 | |
| 36 /** @private {boolean} */ | |
| 37 toolbarSpinnerActive_: { | |
|
dpapad
2016/07/19 00:36:42
This boolean variable is bound to |spinnerActive|
| |
| 38 type: Boolean, | |
| 39 value: false, | |
| 40 }, | |
| 35 }, | 41 }, |
| 36 | 42 |
| 37 listeners: { | 43 listeners: { |
| 38 'sideNav.iron-activate': 'onIronActivate_', | 44 'sideNav.iron-activate': 'onIronActivate_', |
| 39 }, | 45 }, |
| 40 | 46 |
| 41 /** @private */ | 47 /** @private */ |
| 42 onCloseAppealTap_: function() { | 48 onCloseAppealTap_: function() { |
| 43 sessionStorage.appealClosed_ = this.appealClosed_ = true; | 49 sessionStorage.appealClosed_ = this.appealClosed_ = true; |
| 44 }, | 50 }, |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 63 this.$$('settings-main').searchContents(e.detail); | 69 this.$$('settings-main').searchContents(e.detail); |
| 64 }.bind(this)); | 70 }.bind(this)); |
| 65 }, | 71 }, |
| 66 | 72 |
| 67 /** @private */ | 73 /** @private */ |
| 68 directionDelegateChanged_: function() { | 74 directionDelegateChanged_: function() { |
| 69 this.$$('app-drawer').align = this.directionDelegate.isRtl() ? | 75 this.$$('app-drawer').align = this.directionDelegate.isRtl() ? |
| 70 'right' : 'left'; | 76 'right' : 'left'; |
| 71 }, | 77 }, |
| 72 }); | 78 }); |
| OLD | NEW |