1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview
* 'cr-settings-date-time-page' is the settings page containing date-time
* settings.
*
* Example:
*
* <core-animated-pages>
* <cr-settings-date-time-page prefs="{{prefs}}">
* </cr-settings-date-time-page>
* ... other pages ...
* </core-animated-pages>
*
* @group Chrome Settings Elements
* @element cr-settings-date-time-page
*/
Polymer({
is: 'cr-settings-date-time-page',
properties: {
/**
* Preferences state.
*/
prefs: {
type: Object,
notify: true
},
/**
* Route for the page.
*/
route: {
type: String,
value: ''
},
/**
* Whether the page is a subpage.
*/
subpage: {
type: Boolean,
value: false,
readOnly: true
},
/**
* ID of the page.
*/
PAGE_ID: {
type: String,
value: 'date-time',
readOnly: true
},
/**
* Title for the page header and navigation menu.
*/
pageTitle: {
type: String,
value: function() { return loadTimeData.getString('dateTimePageTitle'); }
},
/**
* Name of the 'core-icon' to show.
*/
icon: {
type: String,
value: 'device:access-time',
readOnly: true
},
},
});
|