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-privacy-page' is the settings page containing privacy and | 7 * 'cr-settings-privacy-page' is the settings page containing privacy and |
8 * security settings. | 8 * security settings. |
9 * | 9 * |
10 * Example: | 10 * Example: |
(...skipping 16 matching lines...) Expand all Loading... |
27 */ | 27 */ |
28 prefs: { | 28 prefs: { |
29 type: Object, | 29 type: Object, |
30 notify: true, | 30 notify: true, |
31 }, | 31 }, |
32 | 32 |
33 /** | 33 /** |
34 * The current active route. | 34 * The current active route. |
35 */ | 35 */ |
36 currentRoute: { | 36 currentRoute: { |
37 type: Array, | 37 type: Object, |
38 notify: true, | 38 notify: true, |
39 }, | 39 }, |
40 }, | 40 }, |
41 | 41 |
42 /** @private */ | 42 /** @private */ |
43 onBackTap_: function() { | 43 onBackTap_: function() { |
44 this.$.pages.back(); | 44 this.$.pages.back(); |
45 }, | 45 }, |
46 | 46 |
47 /** @private */ | 47 /** @private */ |
48 onManageCertificatesTap_: function() { | 48 onManageCertificatesTap_: function() { |
49 this.$.pages.setSubpageChain(['manage-certificates']); | 49 this.$.pages.setSubpageChain(['manage-certificates']); |
50 }, | 50 }, |
51 | 51 |
52 /** @private */ | 52 /** @private */ |
53 onSiteSettingsTap_: function() { | 53 onSiteSettingsTap_: function() { |
54 this.$.pages.setSubpageChain(['site-settings']); | 54 this.$.pages.setSubpageChain(['site-settings']); |
55 }, | 55 }, |
56 | 56 |
57 /** @private */ | 57 /** @private */ |
58 onClearBrowsingDataTap_: function() { | 58 onClearBrowsingDataTap_: function() { |
59 // TODO(dschuyler) | 59 // TODO(dschuyler) |
60 }, | 60 }, |
61 }); | 61 }); |
OLD | NEW |