| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 this.pageVisibility_ = { | 89 this.pageVisibility_ = { |
| 90 people: false, | 90 people: false, |
| 91 onStartup: false, | 91 onStartup: false, |
| 92 reset: false, | 92 reset: false, |
| 93 <if expr="not chromeos"> | 93 <if expr="not chromeos"> |
| 94 appearance: false, | 94 appearance: false, |
| 95 defaultBrowser: false, | 95 defaultBrowser: false, |
| 96 advancedSettings: false, | 96 advancedSettings: false, |
| 97 </if> | 97 </if> |
| 98 <if expr="chromeos"> | 98 <if expr="chromeos"> |
| 99 androidApps: false, |
| 99 appearance: { | 100 appearance: { |
| 100 setWallpaper: false, | 101 setWallpaper: false, |
| 101 setTheme: false, | 102 setTheme: false, |
| 102 homeButton: false, | 103 homeButton: false, |
| 103 bookmarksBar: false, | 104 bookmarksBar: false, |
| 104 pageZoom: false, | 105 pageZoom: false, |
| 105 }, | 106 }, |
| 106 advancedSettings: true, | 107 advancedSettings: true, |
| 107 privacy: { | 108 privacy: { |
| 108 searchPrediction: false, | 109 searchPrediction: false, |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 onMenuButtonTap_: function() { | 190 onMenuButtonTap_: function() { |
| 190 this.$$('app-drawer').toggle(); | 191 this.$$('app-drawer').toggle(); |
| 191 }, | 192 }, |
| 192 | 193 |
| 193 /** @private */ | 194 /** @private */ |
| 194 directionDelegateChanged_: function() { | 195 directionDelegateChanged_: function() { |
| 195 this.$$('app-drawer').align = this.directionDelegate.isRtl() ? | 196 this.$$('app-drawer').align = this.directionDelegate.isRtl() ? |
| 196 'right' : 'left'; | 197 'right' : 'left'; |
| 197 }, | 198 }, |
| 198 }); | 199 }); |
| OLD | NEW |