| 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-site-settings-page' is the settings page containing privacy and | 7 * 'settings-site-settings-page' is the settings page containing privacy and |
| 8 * security site settings. | 8 * security site settings. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 }, | 42 }, |
| 43 | 43 |
| 44 /** @private */ | 44 /** @private */ |
| 45 enableSafeBrowsingSubresourceFilter_: { | 45 enableSafeBrowsingSubresourceFilter_: { |
| 46 type: Boolean, | 46 type: Boolean, |
| 47 value: function() { | 47 value: function() { |
| 48 return loadTimeData.getBoolean('enableSafeBrowsingSubresourceFilter'); | 48 return loadTimeData.getBoolean('enableSafeBrowsingSubresourceFilter'); |
| 49 } | 49 } |
| 50 }, | 50 }, |
| 51 | 51 |
| 52 | |
| 53 /** @type {!Map<string, string>} */ | 52 /** @type {!Map<string, string>} */ |
| 54 focusConfig: { | 53 focusConfig: { |
| 55 type: Object, | 54 type: Object, |
| 56 observer: 'focusConfigChanged_', | 55 observer: 'focusConfigChanged_', |
| 57 }, | 56 }, |
| 58 }, | 57 }, |
| 59 | 58 |
| 60 /** | 59 /** |
| 61 * @param {!Map<string, string>} newConfig | 60 * @param {!Map<string, string>} newConfig |
| 62 * @param {?Map<string, string>} oldConfig | 61 * @param {?Map<string, string>} oldConfig |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 /** | 174 /** |
| 176 * Navigate to the route specified in the event dataset. | 175 * Navigate to the route specified in the event dataset. |
| 177 * @param {!Event} event The tap event. | 176 * @param {!Event} event The tap event. |
| 178 * @private | 177 * @private |
| 179 */ | 178 */ |
| 180 onTapNavigate_: function(event) { | 179 onTapNavigate_: function(event) { |
| 181 var dataSet = /** @type {{route: string}} */(event.currentTarget.dataset); | 180 var dataSet = /** @type {{route: string}} */(event.currentTarget.dataset); |
| 182 settings.navigateTo(settings.Route[dataSet.route]); | 181 settings.navigateTo(settings.Route[dataSet.route]); |
| 183 }, | 182 }, |
| 184 }); | 183 }); |
| OLD | NEW |