OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 /** |
| 6 * @fileoverview |
| 7 * Settings page for managing multidevice features. |
| 8 */ |
| 9 |
| 10 Polymer({ |
| 11 is: 'settings-multidevice-page', |
| 12 |
| 13 properties: { |
| 14 /** Preferences state. */ |
| 15 prefs: { |
| 16 type: Object, |
| 17 notify: true, |
| 18 }, |
| 19 |
| 20 /** |
| 21 * Reflects the current state of the toggle buttons (in this page and the |
| 22 * subpage). This will be set when the user changes the toggle. |
| 23 * @private |
| 24 */ |
| 25 smsConnectToggleState_: { |
| 26 type: Boolean, |
| 27 observer: 'smsConnectToggleStateChanged_', |
| 28 }, |
| 29 }, |
| 30 |
| 31 /** @private */ |
| 32 smsConnectToggleStateChanged_: function() { |
| 33 // TODO(orenb): Switch from paper-toggle-button to settings-toggle-button, |
| 34 // which will manage the underlying pref state, once the new pref has been |
| 35 // implemented. Propagate here the pref value to the SMS connect component. |
| 36 }, |
| 37 }); |
OLD | NEW |