| 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 * 'cr-settings-date-time-page' is the settings page containing date-time | 7 * 'cr-settings-date-time-page' is the settings page containing date-time |
| 8 * settings. | 8 * settings. |
| 9 * | 9 * |
| 10 * Example: | 10 * Example: |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 route: { | 37 route: { |
| 38 type: String, | 38 type: String, |
| 39 value: '' | 39 value: '' |
| 40 }, | 40 }, |
| 41 | 41 |
| 42 /** | 42 /** |
| 43 * Whether the page is a subpage. | 43 * Whether the page is a subpage. |
| 44 */ | 44 */ |
| 45 subpage: { | 45 subpage: { |
| 46 type: Boolean, | 46 type: Boolean, |
| 47 value: false | 47 value: false, |
| 48 } | 48 readOnly: true |
| 49 }, |
| 49 | 50 |
| 50 /** | 51 /** |
| 51 * ID of the page. | 52 * ID of the page. |
| 52 */ | 53 */ |
| 53 PAGE_ID: { | 54 PAGE_ID: { |
| 54 type: String, | 55 type: String, |
| 55 value: 'date-time' | 56 value: 'date-time', |
| 57 readOnly: true |
| 56 }, | 58 }, |
| 57 | 59 |
| 58 /** | 60 /** |
| 59 * Title for the page header and navigation menu. | 61 * Title for the page header and navigation menu. |
| 60 */ | 62 */ |
| 61 pageTitle: { | 63 pageTitle: { |
| 62 type: String, | 64 type: String, |
| 63 value: function() { return loadTimeData.getString('dateTimePageTitle'); } | 65 value: function() { return loadTimeData.getString('dateTimePageTitle'); } |
| 64 }, | 66 }, |
| 65 | 67 |
| 66 /** | 68 /** |
| 67 * Name of the 'core-icon' to show. | 69 * Name of the 'core-icon' to show. |
| 68 */ | 70 */ |
| 69 icon: { | 71 icon: { |
| 70 type: String, | 72 type: String, |
| 71 value: 'device:access-time' | 73 value: 'device:access-time', |
| 74 readOnly: true |
| 72 }, | 75 }, |
| 73 }, | 76 }, |
| 74 }); | 77 }); |
| OLD | NEW |