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

Side by Side Diff: chrome/browser/resources/settings/date_time_page/date_time_page.js

Issue 1135733005: Fixes for cr-settings-date-time-page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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-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
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 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/date_time_page/date_time_page.html ('k') | ui/webui/resources/polymer_resources.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698