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 */ | 25 */ |
| 26 prefs: Object, | 26 prefs: Object, |
| 27 | 27 |
| 28 /** @type {?settings.DirectionDelegate} */ | 28 /** @type {?settings.DirectionDelegate} */ |
| 29 directionDelegate: { | 29 directionDelegate: { |
| 30 observer: 'directionDelegateChanged_', | 30 observer: 'directionDelegateChanged_', |
| 31 type: Object, | 31 type: Object, |
| 32 value: new settings.DirectionDelegateImpl(), | 32 value: new settings.DirectionDelegateImpl(), |
| 33 }, | 33 }, |
| 34 | 34 |
| 35 advancedOpened_: { | |
|
dpapad
2016/10/17 19:11:43
@private
Dan Beam
2016/10/17 20:52:17
Done.
| |
| 36 type: Boolean, | |
| 37 value: false, | |
| 38 notify: true, | |
| 39 }, | |
| 40 | |
| 35 /** @private {boolean} */ | 41 /** @private {boolean} */ |
| 36 toolbarSpinnerActive_: { | 42 toolbarSpinnerActive_: { |
| 37 type: Boolean, | 43 type: Boolean, |
| 38 value: false, | 44 value: false, |
| 39 }, | 45 }, |
| 40 | 46 |
| 41 /** | 47 /** |
| 42 * Dictionary defining page visibility. | 48 * Dictionary defining page visibility. |
| 43 * @private {!GuestModePageVisibility} | 49 * @private {!GuestModePageVisibility} |
| 44 */ | 50 */ |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 121 onMenuButtonTap_: function() { | 127 onMenuButtonTap_: function() { |
| 122 this.$$('app-drawer').toggle(); | 128 this.$$('app-drawer').toggle(); |
| 123 }, | 129 }, |
| 124 | 130 |
| 125 /** @private */ | 131 /** @private */ |
| 126 directionDelegateChanged_: function() { | 132 directionDelegateChanged_: function() { |
| 127 this.$$('app-drawer').align = this.directionDelegate.isRtl() ? | 133 this.$$('app-drawer').align = this.directionDelegate.isRtl() ? |
| 128 'right' : 'left'; | 134 'right' : 'left'; |
| 129 }, | 135 }, |
| 130 }); | 136 }); |
| OLD | NEW |