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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 </if> | 82 </if> |
83 <if expr="chromeos"> | 83 <if expr="chromeos"> |
84 appearance: { | 84 appearance: { |
85 setWallpaper: false, | 85 setWallpaper: false, |
86 setTheme: false, | 86 setTheme: false, |
87 homeButton: false, | 87 homeButton: false, |
88 bookmarksBar: false, | 88 bookmarksBar: false, |
89 pageZoom: false, | 89 pageZoom: false, |
90 }, | 90 }, |
91 advancedSettings: true, | 91 advancedSettings: true, |
92 dateTime: { | |
93 timeZoneSelector: false, | |
94 }, | |
95 privacy: { | 92 privacy: { |
96 searchPrediction: false, | 93 searchPrediction: false, |
97 networkPrediction: false, | 94 networkPrediction: false, |
98 }, | 95 }, |
99 passwordsAndForms: false, | 96 passwordsAndForms: false, |
100 downloads: { | 97 downloads: { |
101 googleDrive: false, | 98 googleDrive: false, |
102 }, | 99 }, |
103 </if> | 100 </if> |
104 }; | 101 }; |
(...skipping 19 matching lines...) Expand all Loading... |
124 onMenuButtonTap_: function() { | 121 onMenuButtonTap_: function() { |
125 this.$$('app-drawer').toggle(); | 122 this.$$('app-drawer').toggle(); |
126 }, | 123 }, |
127 | 124 |
128 /** @private */ | 125 /** @private */ |
129 directionDelegateChanged_: function() { | 126 directionDelegateChanged_: function() { |
130 this.$$('app-drawer').align = this.directionDelegate.isRtl() ? | 127 this.$$('app-drawer').align = this.directionDelegate.isRtl() ? |
131 'right' : 'left'; | 128 'right' : 'left'; |
132 }, | 129 }, |
133 }); | 130 }); |
OLD | NEW |